sklearn.base.DensityMixin
-
class sklearn.base.DensityMixin
[source] -
Mixin class for all density estimators in scikit-learn.
Methods
score
(X[, y])Return the score of the model on the data
X
.-
score(X, y=None)
[source] -
Return the score of the model on the data
X
.- Parameters
-
-
Xarray-like of shape (n_samples, n_features)
-
Test samples.
-
yIgnored
-
Not used, present for API consistency by convention.
-
- Returns
-
-
scorefloat
-
-
© 2007–2020 The scikit-learn developers
Licensed under the 3-clause BSD License.
https://scikit-learn.org/0.24/modules/generated/sklearn.base.DensityMixin.html