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)

You are now following this Submission

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 (2026). To optimise hyperparameter of ML Model using F1 (https://se.mathworks.com/matlabcentral/fileexchange/71000-to-optimise-hyperparameter-of-ml-model-using-f1), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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