Skip to content

Commit

Permalink
add info about predicted class order (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
pplonski committed Jun 8, 2021
1 parent 7647dc7 commit 7571813
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,13 @@ In the above example the regression model will be fitted.

</details>


<details><summary>How to know the order of classes for binary or multiclass problem when using predict_proba?</summary>

To get predicted probabilites with information about class label please use the `predict_all()` method. It returns the pandas DataFrame with class names in the columns. The order of predicted columns is the same in the `predict_proba()` and `predict_all()` methods. The `predict_all()` method will additionaly have the column with the predicted class label.

</details>

# Documentation

For details please check [mljar-supervised docs](https://supervised.mljar.com).
Expand Down

0 comments on commit 7571813

Please sign in to comment.