I'm trying to setup a Neuraxle Pipeline that uses sklearns OneVsRestClassifier (OVR).
Every valid step in a Neuraxle pipeline has to implement the fit()
and transform()
methods.
In order to use sklearns pipeline steps, Neuraxle uses a SKLearnWrapper that maps the OVRs predict()
method to the transform()
method of the SKLearnWrapper.
Is there a way to modify this behavior so that the
predict_proba()
method is mapped to the OVRstransform()
method instead?Or is there another way of retrieving the calculated probabilities?