Description Usage Arguments Value
This function makes it easier to compare multiple models side by side. It takes an input vector of model names and returns the performance metrics for validation dataset, training dataset, test dataset, xval dataset as desired.
1 2 3 |
compare_train |
Get the metrics for train? Defaults to False |
compare_test |
Get the metrics for test? Defaults to true. You need to provide a dataset to evaluate against! |
test_dataset |
The dataset that you will predict against. |
compare_xval |
Get the metrics for XVAL? Defaults to false. |
compare_valid |
Get the metrics for Validation dataset? Defautls to False |
return_full_model_params |
False by default. If FALSE returns only the tuning metrics that were used. If TRUE, will return everything. |
Returns a dataframe of the metrics chosen. if 'all' is chosen on the return_type, then a list of dataframes is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.