package sklearn

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

Module Ensemble.BaseEnsembleSource

Sourcetype tag = [
  1. | `BaseEnsemble
]
Sourcetype t = [ `BaseEnsemble | `BaseEstimator | `MetaEstimatorMixin | `Object ] Obj.t
Sourceval of_pyobject : Py.Object.t -> t
Sourceval to_pyobject : [> tag ] Obj.t -> Py.Object.t
Sourceval as_estimator : t -> [ `BaseEstimator ] Obj.t
Sourceval as_meta_estimator : t -> [ `MetaEstimatorMixin ] Obj.t
Sourceval get_item : index:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

Return the index'th estimator in the ensemble.

Sourceval iter : [> tag ] Obj.t -> Dict.t Seq.t

Return iterator over estimators in the ensemble.

Sourceval get_params : ?deep:bool -> [> tag ] Obj.t -> Dict.t

Get parameters for this estimator.

Parameters ---------- deep : bool, default=True If True, will return the parameters for this estimator and contained subobjects that are estimators.

Returns ------- params : mapping of string to any Parameter names mapped to their values.

Sourceval set_params : ?params:(string * Py.Object.t) list -> [> tag ] Obj.t -> t

Set the parameters of this estimator.

The method works on simple estimators as well as on nested objects (such as pipelines). The latter have parameters of the form ``<component>__<parameter>`` so that it's possible to update each component of a nested object.

Parameters ---------- **params : dict Estimator parameters.

Returns ------- self : object Estimator instance.

Sourceval base_estimator_ : t -> [ `BaseEstimator | `Object ] Np.Obj.t

Attribute base_estimator_: get value or raise Not_found if None.

Sourceval base_estimator_opt : t -> [ `BaseEstimator | `Object ] Np.Obj.t option

Attribute base_estimator_: get value as an option.

Sourceval estimators_ : t -> [ `BaseEstimator | `Object ] Np.Obj.t list

Attribute estimators_: get value or raise Not_found if None.

Sourceval estimators_opt : t -> [ `BaseEstimator | `Object ] Np.Obj.t list option

Attribute estimators_: get value as an option.

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.