We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi ,
It's possible to include the 10% training omission rate in the function thresholds?
Thank you
The text was updated successfully, but these errors were encountered:
I did it like this
conf_matrix <- confMatrix(model, test = data, type = 'cloglog') # creates confusion matrix conf_matrix$omission_rate <- conf_matrix$fn / (conf_matrix$tp + conf_matrix$fn) # creates OR column closest_row <- conf_matrix[abs(conf_matrix$omission_rate - 0.1) <= 0.01, ] # picks columns with <= 10% OR closest_row$specificity <- closest_row$tn / (closest_row$tn + closest_row$fp) # creates specificity column best_row <- closest_row[which.max(closest_row$specificity), ] # selects the row of 10% OR with maximum specificity
Sorry, something went wrong.
sgvignali
No branches or pull requests
Describe the new feature
Hi ,
It's possible to include the 10% training omission rate in the function thresholds?
Thank you
Does the feature request already exist?
The text was updated successfully, but these errors were encountered: