table_evaluation_results | R Documentation |
The table_evaluation_results() function provides access to trained model evaluation metrics, automatically adapting to the type of problem being analyzed. For binary classification problems, it returns a unified table with performance metrics, while for multiclass classification it generates separate tables for training and test data, enabling comparative performance evaluation and detection of potential overfitting.
table_evaluation_results(analysis_object, show_table = FALSE)
analysis_object |
Fitted analysis_object with 'fine_tuning()'. |
show_table |
Boolean. Whether to show the table. |
Tibble or list of tibbles (multiclass classification) with evaluation results.
# Note: For obtaining the evaluation table the user needs to
# complete till fine_tuning( ) function.
wrap_object <- preprocessing(df = sim_data,
formula = psych_well ~ depression + emot_intel + resilience,
task = "regression")
wrap_object <- build_model(wrap_object, "Random Forest")
wrap_object <- fine_tuning(wrap_object, "Bayesian Optimization")
# And then, you can obtain the evaluation table.
table_results <- table_evaluation_results(wrap_object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.