classifier_pipeline¶
-
class
deduplipy.classifier_pipeline.
ClassifierPipeline
(interaction=False)¶ Bases:
sklearn.base.BaseEstimator
-
fit
(X, y)¶ Fit the classification pipeline. Does not throw an error when there is only one class in the targets during the first steps in active learning.
- Args:
X: features y: target
- Returns:
fitted instance
-
predict
(X)¶ Predict using fitted instance.
- Args:
X: features
- Returns:
predictions
-
predict_proba
(X)¶ Predict probabilities using fitted instance.
- Args:
X: features
- Returns:
predicted probabilities
-