sklearn.base
.BaseEstimator¶
-
class
sklearn.base.
BaseEstimator
[源代码]¶ Base class for all estimators in scikit-learn
Notes
All estimators should specify all the parameters that can be set at the class level in their
__init__
as explicit keyword arguments (no*args
or**kwargs
).Methods
get_params
([deep])Get parameters for this estimator. set_params
(**params)Set the parameters of this estimator. -
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
-