helper_cv_classif_analysis {previsionio} | R Documentation |
Get metrics on a CV file retrieved by Prevision.io for a binary classification use case
Description
Get metrics on a CV file retrieved by Prevision.io for a binary classification use case
Usage
helper_cv_classif_analysis(actual, predicted, fold, thresh = NULL, step = 1000)
Arguments
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) |
Value
data.frame - metrics computed between actual and predicted vectors.
[Package previsionio version 11.7.0 Index]