April 2026
461 pages
17h 56m
English
With regard to reuse, it makes sense to store the developed code in an implementation that is compatible with scikit-learn. As a matter of fact, there are templates that can be used and that we’ve included here. The following objects are the basic components of the implementation, such as the estimator object for learning and the predictor object for performing the classification:
EstimatorAn estimator is an object that learns from data, for example, using a classification, regression, or clustering algorithm. The base object sklearn.base.BaseEstimator implements the fit method to learn from the data:
estimator = Perceptron.fit(data,targets)
Perceptron is the name of an object we’ll instantiate using ...
Read now
Unlock full access