Skip to content

[DOCS] HyperparameterTuner Random strategy not documentedΒ #2835

@TremaMiguel

Description

@TremaMiguel

What did you find confusing? Please describe.

The HyperparameterTuningConfigJob states two available search Strategy

Strategy
Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job it launches. To use the Bayesian search strategy, set this to Bayesian. To randomly search, set it to Random. For information about search strategies, see How Hyperparameter Tuning Works.
Type: String
Valid Values: Bayesian | Random

but Sagemaker.tuner.HyperparametTuner documentation is not clear enough here and here that Random search strategy is available.

Describe how documentation can be improved

Indicate what are the Valid Values that the API accepts here and here

strategy : {"Bayesian", "Random"}, default="Bayesian"
        Strategy to be used for hyperparameter estimations. Supported criteria are
        "Bayesian" for the Bayesian Search and "Random" for the Random Search.

this will need an additional check so that input parameter is checked against the valid values.

I'm open to do a PR related to this issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions