helper_cv_classif_analysis | R Documentation |
Get metrics on a CV file retrieved by Prevision.io for a binary classification use case
helper_cv_classif_analysis(actual, predicted, fold, thresh = NULL, step = 1000)
actual |
target comming from the cross Validation dataframe retrieved by Prevision.io |
predicted |
prediction comming from the cross Validation dataframe retrieved by Prevision.io |
fold |
fold number comming from the cross Validation dataframe retrieved by Prevision.io |
thresh |
threshold to use. If not provided optimal threshold given F1 score will be computed |
step |
number of iteration done to find optimal thresh (1000 by default = 0.1% resolution per fold) |
data.frame - metrics computed between actual and predicted vectors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.