This function calculates a Confussion Matrix using crosstab for 2 or more categories. You can either set the score and threshold or the labels you wish to cross with.
conf_mat(tag, score, thresh = 0.5, plot = FALSE)Vector. Real known label
Vector. Predicted value or model's result
Numeric. Value which splits the results for the confusion matrix when binary.
Boolean. Plot result?
Other Machine Learning: ROC,
clusterKmeans,
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,
mplot_splits, msplit
Other Calculus: ROC, corr,
deg2num, dist2d,
errors, loglossBinary,
mae, mape,
model_metrics, mse,
quants, rmse,
rsqa, rsq