Description Usage Arguments Value See Also Examples
View source: R/binaryClassification.R
Evaluate a model with a Precision vs Recall plot
1 | generatePrecisionRecallCurve(pred, header = "")
|
pred |
A |
header |
An optional string to add to the plot title |
A ggplot
1 2 3 4 5 | set.seed(1234)
probs <- pnorm(rnorm(100,-1,1))
actuals <- rbinom(100,1,probs)
pred <- prediction(probs, actuals)
generatePrecisionRecallCurve(pred, header = "A Model")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.