To optimise hyperparameter of ML Model using F1

To optimise hypeparameter of ML Model based on different evaluation metrics (Accuracy, Recall, Precision, F1, F2, F0.5)
125 Downloads
Updated 27 Mar 2019

View License

Grid search, Random search and Bayesian optimization are popular approaches to find the best combinations of parameter of Machine Learning model, cross validate each and determine which one gives the best performance.

This example will also discuss about how to fine tune the hyperparameter based on different evaluation metrics (Accuracy, Recall, Precision, F1, F2, F0.5)

Cite As

Kevin Chng (2024). To optimise hyperparameter of ML Model using F1 (https://www.mathworks.com/matlabcentral/fileexchange/71000-to-optimise-hyperparameter-of-ml-model-using-f1), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.4

Change Description

1.0.3

Change Description

1.0.2

correct typo error

1.0.1

correct typo error

1.0.0