I’m using the model.tune hyperparameter tuning functionality to tune a custom classifier based on the yolo11m-cls.pt checkpoint. It’s all basically fine except I’d like to tweak the tuner’s fitness function.
How can I do this? I’ve searched through the documentation and e.g. the Hyperparameter Tuning Guide (Hyperparameter Tuning - Ultralytics YOLO Docs) starts off talking about the importance of identifying a fitness function, then never actually specifies how to change it from the default! Any help would be much appreciated.