sklearn.base.DensityMixin

class sklearn.base.DensityMixin[source]

Mixin class for all density estimators in scikit-learn.

Methods

score(X[, y]) Returns the score of the model on the data X
__init__()

x.__init__(…) initializes x; see help(type(x)) for 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