From 7e668fbf7cb4168b0ab3c6845e700d2c399a5ec3 Mon Sep 17 00:00:00 2001 From: Joakim Nyman Date: Wed, 31 Oct 2018 08:57:12 +0100 Subject: [PATCH] Corrected comment about activations list length --- sklearn/neural_network/multilayer_perceptron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/neural_network/multilayer_perceptron.py b/sklearn/neural_network/multilayer_perceptron.py index de559dc67e18f..248909ac97572 100644 --- a/sklearn/neural_network/multilayer_perceptron.py +++ b/sklearn/neural_network/multilayer_perceptron.py @@ -92,7 +92,7 @@ def _forward_pass(self, activations): Parameters ---------- - activations : list, length = n_layers - 1 + activations : list, length = n_layers The ith element of the list holds the values of the ith layer. """ hidden_activation = ACTIVATIONS[self.activation]