Skip to content

Commit f7026b0

Browse files
committed
Expanded docstring of the verbose parameter.
1 parent 0ac17a5 commit f7026b0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sklearn/neural_network/rbm.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ class BernoulliRBM(BaseEstimator, TransformerMixin):
4949
Number of iterations/sweeps over the training dataset to perform
5050
during training.
5151
52-
verbose : bool, optional
53-
The verbosity level.
52+
verbose : int, optional
53+
The verbosity level. Enabling it (with a non-zero value) will compute
54+
the log-likelihood of each mini-batch and hence cause a runtime overhead
55+
in the order of 10%.
5456
5557
random_state : integer or numpy.RandomState, optional
5658
A random number generator instance to define the state of the

0 commit comments

Comments
 (0)