Skip to content

Conversation

@benvanwerkhoven
Copy link
Collaborator

As we extend to more optimization objectives and explore constrained optimization it happens more often that we have a user-defined metric that defines the optimization objective. This pull makes it easy to specify the optimization direction, without the need to explicitly specify the direction using the objective_higher_is_better= option of tune_kernel(). Now, if your objective is named "fitness" Kernel Tuner assumes maximization and for objectives named "cost" or "loss" minimization is assumed.

As we extend to more optimization objectives and explore constrained optimization it happens more often that we have a user-defined metric that defines the optimization objective. This pull makes it easy to specify the optimization direction, without the need to explicitly specify the direction using the  ``objective_higher_is_better=`` option of ``tune_kernel()``. Now, if your objective is named ``"fitness"`` Kernel Tuner assumes maximization and for objectives named ``"cost"`` or ``"loss"`` minimization is assumed.
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 9, 2025

@stijnh stijnh assigned stijnh and unassigned stijnh Jul 16, 2025
@stijnh
Copy link
Member

stijnh commented Jul 16, 2025

Looks good to me!

@stijnh stijnh merged commit b78d909 into master Jul 16, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants