From 1458838a46e59fc4cfcdcbcf7b70d0367ac4f586 Mon Sep 17 00:00:00 2001 From: Sara Robinson Date: Wed, 23 Mar 2022 18:21:58 -0400 Subject: [PATCH] chore: update docstring for column_transformations and column_specs --- google/cloud/aiplatform/training_jobs.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/google/cloud/aiplatform/training_jobs.py b/google/cloud/aiplatform/training_jobs.py index b7f4c9c0cd..2b32ad2d50 100644 --- a/google/cloud/aiplatform/training_jobs.py +++ b/google/cloud/aiplatform/training_jobs.py @@ -3264,7 +3264,10 @@ def __init__( If an input column has no transformations on it, such a column is ignored by the training, except for the targetColumn, which should have no transformations defined on. - Only one of column_transformations or column_specs should be passed. + Only one of column_transformations or column_specs should be passed. If none + of column_transformations or column_specs is passed, the service account + being used will try setting column_specs to "auto". To do this, the service + account needes read access to the GCS or BigQuery training data source. column_transformations (List[Dict[str, Dict[str, str]]]): Optional. Transformations to apply to the input columns (i.e. columns other than the targetColumn). Each transformation may produce multiple @@ -3276,7 +3279,11 @@ def __init__( ignored by the training, except for the targetColumn, which should have no transformations defined on. Only one of column_transformations or column_specs should be passed. - Consider using column_specs as column_transformations will be deprecated eventually. + Consider using column_specs as column_transformations will be deprecated + eventually. If none of column_transformations or column_specs is passed, + the service account being used will try setting column_transformations + to "auto". To do this, the service account needes read access to the GCS + or BigQuery training data source. optimization_objective_recall_value (float): Optional. Required when maximize-precision-at-recall optimizationObjective was picked, represents the recall value at which the optimization is done.