You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/04/19 17:58:56 UTC

[GitHub] [airflow] marcosmarxm commented on a change in pull request #15429: Adding support for Hyperparameter Tuning on Google Cloud AI Platform

marcosmarxm commented on a change in pull request #15429:
URL: https://github.com/apache/airflow/pull/15429#discussion_r616060692



##########
File path: airflow/providers/google/cloud/operators/mlengine.py
##########
@@ -1189,6 +1189,7 @@ def __init__(
         mode: str = 'PRODUCTION',
         labels: Optional[Dict[str, str]] = None,
         impersonation_chain: Optional[Union[str, Sequence[str]]] = None,
+        hyperparameters: Optional[Dict] = None,

Review comment:
       Add parameter in class documentation and maybe a link to Google documentation can be helpful to users https://cloud.google.com/ai-platform/training/docs/using-hyperparameter-tuning
   
   ```
   :param hyperparameters Make a dictionary representing your HyperparameterSpec and add it to your training input.
   :type Dict
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org