package sklearn

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Base.DensityMixinSource

Sourcetype tag = [
  1. | `DensityMixin
]
Sourcetype t = [ `DensityMixin | `Object ] Obj.t
Sourceval of_pyobject : Py.Object.t -> t
Sourceval to_pyobject : [> tag ] Obj.t -> Py.Object.t
Sourceval create : unit -> t

Mixin class for all density estimators in scikit-learn.

Sourceval score : ?y:Py.Object.t -> x:[> `ArrayLike ] Np.Obj.t -> [> tag ] Obj.t -> float

Return the score of the model on the data X

Parameters ---------- X : array-like of shape (n_samples, n_features)

y : Ignored Not used, present for API consistency by convention.

Returns ------- score : float

Sourceval to_string : t -> string

Print the object to a human-readable representation.

Sourceval show : t -> string

Print the object to a human-readable representation.

Sourceval pp : Format.formatter -> t -> unit

Pretty-print the object to a formatter.

OCaml

Innovation. Community. Security.