diff --git a/doc/modules/neural_networks_supervised.rst b/doc/modules/neural_networks_supervised.rst index f21037132f732..e9b9388521e14 100644 --- a/doc/modules/neural_networks_supervised.rst +++ b/doc/modules/neural_networks_supervised.rst @@ -7,6 +7,13 @@ Neural network models (supervised) .. currentmodule:: sklearn.neural_network +.. warning:: + + This implementation is not intended for large-scale applications. In particular, + scikit-learn offers no GPU support. For much faster, GPU-based implementations, + as well as frameworks offering much more flexibility to build deep learning + architectures, see :ref:`related_projects`. + .. _multilayer_perceptron: Multi-layer Perceptron @@ -153,8 +160,8 @@ See the examples below and the doc string of .. topic:: Examples: - * :ref:`example_neural_networks_plot_mlp_alpha.py` - + * :ref:`example_neural_networks_plot_mlp_training_curves.py` + * :ref:`example_neural_networks_plot_mnist_filters.py` Regression ========== @@ -168,6 +175,24 @@ set of continuous values. :class:`MLPRegressor` also supports multi-output regression, in which a sample can have more than one target. +Regularization +============== + +Both :class:`MLPRegressor` and class:`MLPClassifier` use parameter ``alpha`` +for regularization (L2 regularization) term which helps in avoiding overfitting +by penalizing weights with large magnitudes. Following plot displays varying +decision function with value of alpha. + +.. figure:: ../auto_examples/neural_networks/plot_mlp_alpha_001.png + :target: ../auto_examples/neural_networks/plot_mlp_alpha.html + :align: center + :scale: 75 + +See the examples below for further information. + +.. topic:: Examples: + + * :ref:`example_neural_networks_plot_mlp_alpha.py` Algorithms ==========