To optimise hyperparameter of ML Model using F1
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.