You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make include_cls_metadata default to False for everything except Frameworks (#573)
When a HyperparameterTuner is created using attach(), the tuner needs to
pick an Estimator class to use. It looks for the following things (in this order):
1. if the hyperparameters have class metadata (e.g. a path like sagemaker.tensorflow.estimator.TensorFlow)
2. if the image being used corresponds to one of our 1P estimators
3. if nothing is present, in which case it just uses the generic Estimator class
This change helps the situation where people are using the
generic Estimator class with hyperparameter tuning.
``fit()`` adds the module path of the class used to create the hyperparameter tuner to the list of static hyperparameters by default.
658
+
If you are using your own custom estimator class (i.e. not one provided in this SDK) and want that class to be used when attaching a hyperparamter tuning job,
659
+
set``include_cls_metadata`` to ``True`` when you call ``fit`` to add the module path as static hyperparameters.
666
660
667
661
There is also an analytics object associated with each ``HyperparameterTuner`` instance that contains useful information about the hyperparameter tuning job.
668
662
For example, the ``dataframe`` method gets a pandas dataframe summarizing the associated training jobs:
0 commit comments