dtoolkit.pipeline.Pipeline.decision_function#
- Pipeline.decision_function(X)#
Transform the data, and apply decision_function with the final estimator.
Call transform of each transformer in the pipeline. The transformed data are finally passed to the final estimator that calls decision_function method. Only valid if the final estimator implements decision_function.
- Parameters
- Xiterable
Data to predict on. Must fulfill input requirements of first step of the pipeline.
- Returns
- y_scorendarray of shape (n_samples, n_classes)
Result of calling decision_function on the final estimator.