class sklearn.base.DensityMixin
[source]
Mixin class for all density estimators in scikit-learn.
score (X[, y]) | Returns the score of the model on the data X |
__init__()
Initialize self. See help(type(self)) for accurate signature.
score(X, y=None)
[source]
Returns the score of the model on the data X
Parameters: | X : array-like, shape = (n_samples, n_features) |
---|---|
Returns: | score : float |
© 2007–2017 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.base.DensityMixin.html