Learn R Programming

lares (version 4.7)

mplot_splits: Split and compare quantiles plot

Description

This function lets us split and compare quantiles on a given prediction to compare different categorical values vs scores grouped by equal sized buckets.

Usage

mplot_splits(tag, score, splits = 5, subtitle = NA, model_name = NA,
  save = FALSE, subdir = NA, file_name = "viz_splits.png")

Arguments

tag

Vector. Real known label

score

Vector. Predicted value or model's result

splits

Integer. Numer of separations to plot

subtitle

Character. Subitle to show in plot

model_name

Character. Model's name

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

See Also

Other Machine Learning: ROC, clusterKmeans, conf_mat, export_results, gain_lift, h2o_automl, h2o_predict_API, h2o_predict_MOJO, h2o_predict_binary, h2o_predict_model, h2o_selectmodel, impute, iter_seeds, model_metrics, mplot_conf, mplot_cuts_error, mplot_cuts, mplot_density, mplot_full, mplot_gain, mplot_importance, mplot_lineal, mplot_metrics, mplot_response, mplot_roc, msplit

Other Visualization: corr_plot, distr, freqs_df, freqs, mplot_conf, mplot_cuts_error, mplot_cuts, mplot_density, mplot_full, mplot_gain, mplot_importance, mplot_lineal, mplot_metrics, mplot_response, mplot_roc, noPlot, plot_survey, theme_lares2, theme_lares, tree_var