LMZimmer / Auto-PyTorch_refactor

Apache License 2.0
0 stars 2 forks source link

predict_proba method in the pipeline #55

Closed ravinkohli closed 3 years ago

ravinkohli commented 3 years ago

Current Problem The current predict_proba in autopytorch base pipeline calls the predict_proba of the sklearn base pipeline, which calls the predict_proba of the last step in the pipeline, i.e, the TrainerChoice, which doesn't have a predict_proba method. Therefore, it gives an error.

Suggestion as for the base_pipeline where we have defined a predict method which calls the predict on the network, we should also have a predict_proba in which we run our decision through a softmax and return it.

ravinkohli commented 3 years ago

Solved in #54