diff --git a/doc/conf.py b/doc/conf.py index 9d917534..bc6f9de1 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -87,8 +87,8 @@ extensions = ['sphinx.ext.autodoc', #'sphinx.ext.doctest' 'sphinx.ext.viewcode', 'sphinx.ext.pngmath' - #'ipython_directive', - #'ipython_console_highlighting.py' + 'ipython_directive', + 'ipython_console_highlighting.py' #'matplotlib.sphinxext.mathmpl', #'matplotlib.sphinxext.only_directives', #'matplotlib.sphinxext.plot_directive', diff --git a/doc/tuto_GP_regression.rst b/doc/tuto_GP_regression.rst index 08931834..fb367848 100644 --- a/doc/tuto_GP_regression.rst +++ b/doc/tuto_GP_regression.rst @@ -2,10 +2,10 @@ Gaussian process regression tutorial ************************************* -#.. ipython:: python -# -# print "Hello world" -# X = [[1, 10], [1, 20], [1, -2]] +.. ipython:: python + + print "Hello world" + X = [[1, 10], [1, 20], [1, -2]] We will see in this tutorial the basics for building a 1 dimensional and a 2 dimensional Gaussian process regression model, also known as a kriging model.