plot_twoclass_pr {shinymodels} | R Documentation |
Visualizing the PR curve for a classification model
Description
This function plots the full precision recall curve.
Usage
plot_twoclass_pr(dat, y_name, event_level = "first")
Arguments
dat |
The predictions data frame in the |
y_name |
The y/response variable for the model. |
event_level |
A single character value for the level corresponding to the event. |
Value
A plotly::ggplotly()
object.
[Package shinymodels version 0.1.1 Index]