pycorels icon indicating copy to clipboard operation
pycorels copied to clipboard

predict_proba : is there way to calculate probability of correct decision

Open Sandy4321 opened this issue 5 years ago • 2 comments

is there way to calculate probability of correct decision usually it classier has attribute predict_proba

like https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html

predict_proba(self, X) Probability estimates.

Sandy4321 avatar Dec 22 '19 18:12 Sandy4321

Doesn't look like it, but it could be implemented like for a decision tree, rather than for a logistic regression. Remember this is not the "probability of correct decision"; only the fraction of the training data that falls into each class for each leaf.

See https://scikit-learn.org/stable/modules/generated/sklearn.tree.DecisionTreeClassifier.html#sklearn.tree.DecisionTreeClassifier.predict_proba.

jamesmyatt avatar Jan 07 '20 16:01 jamesmyatt

Great observation thanks But what is leave in Corel case I get only one rule For example If (*********) Then yes Else No

Sandy4321 avatar Jan 08 '20 13:01 Sandy4321