Issue
As an example, suppose there is a random forest and a logistic regression model that accept the same input data, and I want the inference result to be the average of the probabilities of these two models.
In this case, is it possible to create a pipeline that outputs the average probabilities of the two models as shown above?
Solution
A VotingClassifier
with voting="soft"
will work for this purpose.
Answered By - Ben Reiniger
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.