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)
target comming from the cross Validation dataframe retrieved by Prevision.io
prediction comming from the cross Validation dataframe retrieved by Prevision.io
fold number comming from the cross Validation dataframe retrieved by Prevision.io
threshold to use. If not provided optimal threshold given F1 score will be computed
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.