mplot_cuts {lares} | R Documentation |
Cuts by quantiles for score plot
Description
This function cuts by quantiles any score or prediction.
Usage
mplot_cuts(
score,
splits = 10,
model_name = NA,
subtitle = NA,
table = FALSE,
save = FALSE,
subdir = NA,
file_name = "viz_ncuts.png"
)
Arguments
score |
Vector. Predicted value or model's result. |
splits |
Integer. Numer of separations to plot |
model_name |
Character. Model's name |
subtitle |
Character. Subtitle to show in plot |
table |
Boolean. Do you wish to return a table with results? |
save |
Boolean. Save output plot into working directory |
subdir |
Character. Sub directory on which you wish to save the plot |
file_name |
Character. File name as you wish to save the plot |
Value
Plot with performance results by cuts.
See Also
Other ML Visualization:
mplot_conf()
,
mplot_cuts_error()
,
mplot_density()
,
mplot_full()
,
mplot_gain()
,
mplot_importance()
,
mplot_lineal()
,
mplot_metrics()
,
mplot_response()
,
mplot_roc()
,
mplot_splits()
,
mplot_topcats()
Examples
Sys.unsetenv("LARES_FONT") # Temporal
data(dfr) # Results for AutoML Predictions
head(dfr$class2)
# Data
mplot_cuts(dfr$class2$scores, splits = 5, table = TRUE)
# Plot
mplot_cuts(dfr$class2$scores, model_name = "Titanic Survived Model")
[Package lares version 5.2.8 Index]