Skip to content
Snippets Groups Projects
Commit fbcbc1b7 authored by midinas's avatar midinas Committed by Jacob Schreiber
Browse files

Documentation fix in mixture/base.py (#9237)

Documentation of the shape of _estimate_weighted_log_prob() function's return value is (n_samples, n_component)
parent d10c9032
No related branches found
No related tags found
No related merge requests found
......@@ -417,7 +417,7 @@ class BaseMixture(six.with_metaclass(ABCMeta, DensityMixin, BaseEstimator)):
Returns
-------
weighted_log_prob : array, shape (n_features, n_component)
weighted_log_prob : array, shape (n_samples, n_component)
"""
return self._estimate_log_prob(X) + self._estimate_log_weights()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment