pr_curve | R Documentation |
Get Precision–Recall (PR) curve construction.
pr_curve(y_real, y_predicted, threshold_range = c(0, 1), threshold_step = 0.01)
y_real |
Observed values to compare with in matrix format. |
y_predicted |
Predicte values (probabiblities by class). |
threshold_range |
Decision boundary threshold range. Defaults to 'c(0, 1)' for basic probabilistic classifier, but other values may be used. |
threshold_step |
Step to use over the boundary threshold range. Defaults to 0.01 for binary classification. |
... |
Other parameters passed to base plot function. |
matrix of PR curve coordinates for given probabilistic classifier output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.