This recipe includes the following topics:
- Estimator objects
- Choosing the right estimator
Estimator objects
An estimator is an object that extracts useful features from raw data. It may be a classfication, regression, or clustering algorithm or a transformer.
1) Fitting data
– All estimator objects expose a fit()
method
estimator.fit(data)
2) Estimator parameters
– All the parameters of an estimator can be set when it is instantiated
estimator = Estimator(param1=1, param2=2)
estimator.param1