keras tuner lack of documentation for the Objective parameter values
See original GitHub issueIn the following example:
tuner = kt.Hyperband(model, objective='val_accuracy', max_epochs=10, factor=3, directory='my_dir', project_name='intro_to_kt')
I can’t find the documentation for all the possible objective
values, can anyone help?
I’ve searched in the official documentation and in stackOverflow, etc.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Getting started with KerasTuner
KerasTuner is a general-purpose hyperparameter tuning library. ... As shown below, the hyperparameters are actual values.
Read more >Objective value missing in metrics - Error arises while ... - GitHub
Setting the following as the objective argument of the tuner: kerastuner.Objective("val_layername_accuracy", direction="min") is a workaround to ...
Read more >Keras Tuner: Lessons Learned From Tuning Hyperparameters ...
We'll focus one the 5 parameters that sharpen a model's architecture. This is where we'll employ Keras Tuner to do hyperparameter tuning.
Read more >Introduction to the Keras Tuner | TensorFlow Core
The process of selecting the right set of hyperparameters for your machine learning (ML) application is called hyperparameter tuning or hypertuning.
Read more >Hyperparameter tuning with keras-tuner full tutorial - Haneul Kim
Parameter : values that are learned by the model and cannot be tuned by Data Scientists. Includes mean, variance of data, weights, bias,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The link is a complete list of metrics classes. It does not provide the string values. You can pass any of the class instances to your model. And set it as the objective.
objective("val_metric_name", direction="min")
Replace the “metric_name” with the name arg value in the metric class initializer.
We have a tutorial for this on the way.
The string is always the snake case of the class name. For example,
'accuracy'
is fromAccuracy
.It seems there is no way to follow the update of the website. It will be released regularly. The tutorial is in the master branch of the website now.