We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af09859 commit 5a92edaCopy full SHA for 5a92eda
src/sagemaker/tuner.py
@@ -760,6 +760,19 @@ def best_estimator(self, best_training_job=None):
760
be deployed to an Amazon SageMaker endpoint and return a ``sagemaker.RealTimePredictor``
761
object.
762
763
+ Args:
764
+ best_training_job (dict): dict: Dictionary containing "TrainingJobName" and
765
+ "TrainingJobDefinitionName".
766
+ Example:
767
+ {
768
+ "TrainingJobName": "my_training_job_name",
769
+ "TrainingJobDefinitionName": "my_training_job_definition_name"
770
+ }
771
+
772
+ Returns:
773
+ sagemaker.estimator.EstimatorBase: The estimator that has the best training job
774
+ attached.
775
776
Raises:
777
Exception: If there is no best training job available for the hyperparameter tuning job.
778
"""
0 commit comments