Why do ELI5 probabilities differ from predict_proba

127 views Asked by At

I have an sklearn pipeline consisting of a TfidfVectorizer and a SGDClassifier(loss='log'), fitted on a multi-label training dataset. When I then use ELI5 explain_prediction on a sample (using the vectorizer and classifier from pipeline), I get different probabilities than when I use pipeline.predict_proba on the same sample. Why is this?

0

There are 0 answers