1*d5c09012SAndroid Build Coastguard Worker// Copyright 2020 Google LLC 2*d5c09012SAndroid Build Coastguard Worker// 3*d5c09012SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*d5c09012SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*d5c09012SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*d5c09012SAndroid Build Coastguard Worker// 7*d5c09012SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*d5c09012SAndroid Build Coastguard Worker// 9*d5c09012SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*d5c09012SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*d5c09012SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*d5c09012SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*d5c09012SAndroid Build Coastguard Worker// limitations under the License. 14*d5c09012SAndroid Build Coastguard Worker 15*d5c09012SAndroid Build Coastguard Workersyntax = "proto3"; 16*d5c09012SAndroid Build Coastguard Worker 17*d5c09012SAndroid Build Coastguard Workerpackage google.cloud.automl.v1beta1; 18*d5c09012SAndroid Build Coastguard Worker 19*d5c09012SAndroid Build Coastguard Workerimport "google/cloud/automl/v1beta1/classification.proto"; 20*d5c09012SAndroid Build Coastguard Workerimport "google/cloud/automl/v1beta1/column_spec.proto"; 21*d5c09012SAndroid Build Coastguard Workerimport "google/cloud/automl/v1beta1/data_items.proto"; 22*d5c09012SAndroid Build Coastguard Workerimport "google/cloud/automl/v1beta1/data_stats.proto"; 23*d5c09012SAndroid Build Coastguard Workerimport "google/cloud/automl/v1beta1/ranges.proto"; 24*d5c09012SAndroid Build Coastguard Workerimport "google/cloud/automl/v1beta1/regression.proto"; 25*d5c09012SAndroid Build Coastguard Workerimport "google/cloud/automl/v1beta1/temporal.proto"; 26*d5c09012SAndroid Build Coastguard Workerimport "google/protobuf/struct.proto"; 27*d5c09012SAndroid Build Coastguard Workerimport "google/protobuf/timestamp.proto"; 28*d5c09012SAndroid Build Coastguard Worker 29*d5c09012SAndroid Build Coastguard Workeroption go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; 30*d5c09012SAndroid Build Coastguard Workeroption java_multiple_files = true; 31*d5c09012SAndroid Build Coastguard Workeroption java_package = "com.google.cloud.automl.v1beta1"; 32*d5c09012SAndroid Build Coastguard Workeroption php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; 33*d5c09012SAndroid Build Coastguard Workeroption ruby_package = "Google::Cloud::AutoML::V1beta1"; 34*d5c09012SAndroid Build Coastguard Worker 35*d5c09012SAndroid Build Coastguard Worker// Metadata for a dataset used for AutoML Tables. 36*d5c09012SAndroid Build Coastguard Workermessage TablesDatasetMetadata { 37*d5c09012SAndroid Build Coastguard Worker // Output only. The table_spec_id of the primary table of this dataset. 38*d5c09012SAndroid Build Coastguard Worker string primary_table_spec_id = 1; 39*d5c09012SAndroid Build Coastguard Worker 40*d5c09012SAndroid Build Coastguard Worker // column_spec_id of the primary table's column that should be used as the 41*d5c09012SAndroid Build Coastguard Worker // training & prediction target. 42*d5c09012SAndroid Build Coastguard Worker // This column must be non-nullable and have one of following data types 43*d5c09012SAndroid Build Coastguard Worker // (otherwise model creation will error): 44*d5c09012SAndroid Build Coastguard Worker // 45*d5c09012SAndroid Build Coastguard Worker // * CATEGORY 46*d5c09012SAndroid Build Coastguard Worker // 47*d5c09012SAndroid Build Coastguard Worker // * FLOAT64 48*d5c09012SAndroid Build Coastguard Worker // 49*d5c09012SAndroid Build Coastguard Worker // If the type is CATEGORY , only up to 50*d5c09012SAndroid Build Coastguard Worker // 100 unique values may exist in that column across all rows. 51*d5c09012SAndroid Build Coastguard Worker // 52*d5c09012SAndroid Build Coastguard Worker // NOTE: Updates of this field will instantly affect any other users 53*d5c09012SAndroid Build Coastguard Worker // concurrently working with the dataset. 54*d5c09012SAndroid Build Coastguard Worker string target_column_spec_id = 2; 55*d5c09012SAndroid Build Coastguard Worker 56*d5c09012SAndroid Build Coastguard Worker // column_spec_id of the primary table's column that should be used as the 57*d5c09012SAndroid Build Coastguard Worker // weight column, i.e. the higher the value the more important the row will be 58*d5c09012SAndroid Build Coastguard Worker // during model training. 59*d5c09012SAndroid Build Coastguard Worker // Required type: FLOAT64. 60*d5c09012SAndroid Build Coastguard Worker // Allowed values: 0 to 10000, inclusive on both ends; 0 means the row is 61*d5c09012SAndroid Build Coastguard Worker // ignored for training. 62*d5c09012SAndroid Build Coastguard Worker // If not set all rows are assumed to have equal weight of 1. 63*d5c09012SAndroid Build Coastguard Worker // NOTE: Updates of this field will instantly affect any other users 64*d5c09012SAndroid Build Coastguard Worker // concurrently working with the dataset. 65*d5c09012SAndroid Build Coastguard Worker string weight_column_spec_id = 3; 66*d5c09012SAndroid Build Coastguard Worker 67*d5c09012SAndroid Build Coastguard Worker // column_spec_id of the primary table column which specifies a possible ML 68*d5c09012SAndroid Build Coastguard Worker // use of the row, i.e. the column will be used to split the rows into TRAIN, 69*d5c09012SAndroid Build Coastguard Worker // VALIDATE and TEST sets. 70*d5c09012SAndroid Build Coastguard Worker // Required type: STRING. 71*d5c09012SAndroid Build Coastguard Worker // This column, if set, must either have all of `TRAIN`, `VALIDATE`, `TEST` 72*d5c09012SAndroid Build Coastguard Worker // among its values, or only have `TEST`, `UNASSIGNED` values. In the latter 73*d5c09012SAndroid Build Coastguard Worker // case the rows with `UNASSIGNED` value will be assigned by AutoML. Note 74*d5c09012SAndroid Build Coastguard Worker // that if a given ml use distribution makes it impossible to create a "good" 75*d5c09012SAndroid Build Coastguard Worker // model, that call will error describing the issue. 76*d5c09012SAndroid Build Coastguard Worker // If both this column_spec_id and primary table's time_column_spec_id are not 77*d5c09012SAndroid Build Coastguard Worker // set, then all rows are treated as `UNASSIGNED`. 78*d5c09012SAndroid Build Coastguard Worker // NOTE: Updates of this field will instantly affect any other users 79*d5c09012SAndroid Build Coastguard Worker // concurrently working with the dataset. 80*d5c09012SAndroid Build Coastguard Worker string ml_use_column_spec_id = 4; 81*d5c09012SAndroid Build Coastguard Worker 82*d5c09012SAndroid Build Coastguard Worker // Output only. Correlations between 83*d5c09012SAndroid Build Coastguard Worker // 84*d5c09012SAndroid Build Coastguard Worker // [TablesDatasetMetadata.target_column_spec_id][google.cloud.automl.v1beta1.TablesDatasetMetadata.target_column_spec_id], 85*d5c09012SAndroid Build Coastguard Worker // and other columns of the 86*d5c09012SAndroid Build Coastguard Worker // 87*d5c09012SAndroid Build Coastguard Worker // [TablesDatasetMetadataprimary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id]. 88*d5c09012SAndroid Build Coastguard Worker // Only set if the target column is set. Mapping from other column spec id to 89*d5c09012SAndroid Build Coastguard Worker // its CorrelationStats with the target column. 90*d5c09012SAndroid Build Coastguard Worker // This field may be stale, see the stats_update_time field for 91*d5c09012SAndroid Build Coastguard Worker // for the timestamp at which these stats were last updated. 92*d5c09012SAndroid Build Coastguard Worker map<string, CorrelationStats> target_column_correlations = 6; 93*d5c09012SAndroid Build Coastguard Worker 94*d5c09012SAndroid Build Coastguard Worker // Output only. The most recent timestamp when target_column_correlations 95*d5c09012SAndroid Build Coastguard Worker // field and all descendant ColumnSpec.data_stats and 96*d5c09012SAndroid Build Coastguard Worker // ColumnSpec.top_correlated_columns fields were last (re-)generated. Any 97*d5c09012SAndroid Build Coastguard Worker // changes that happened to the dataset afterwards are not reflected in these 98*d5c09012SAndroid Build Coastguard Worker // fields values. The regeneration happens in the background on a best effort 99*d5c09012SAndroid Build Coastguard Worker // basis. 100*d5c09012SAndroid Build Coastguard Worker google.protobuf.Timestamp stats_update_time = 7; 101*d5c09012SAndroid Build Coastguard Worker} 102*d5c09012SAndroid Build Coastguard Worker 103*d5c09012SAndroid Build Coastguard Worker// Model metadata specific to AutoML Tables. 104*d5c09012SAndroid Build Coastguard Workermessage TablesModelMetadata { 105*d5c09012SAndroid Build Coastguard Worker // Additional optimization objective configuration. Required for 106*d5c09012SAndroid Build Coastguard Worker // `MAXIMIZE_PRECISION_AT_RECALL` and `MAXIMIZE_RECALL_AT_PRECISION`, 107*d5c09012SAndroid Build Coastguard Worker // otherwise unused. 108*d5c09012SAndroid Build Coastguard Worker oneof additional_optimization_objective_config { 109*d5c09012SAndroid Build Coastguard Worker // Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL". 110*d5c09012SAndroid Build Coastguard Worker // Must be between 0 and 1, inclusive. 111*d5c09012SAndroid Build Coastguard Worker float optimization_objective_recall_value = 17; 112*d5c09012SAndroid Build Coastguard Worker 113*d5c09012SAndroid Build Coastguard Worker // Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION". 114*d5c09012SAndroid Build Coastguard Worker // Must be between 0 and 1, inclusive. 115*d5c09012SAndroid Build Coastguard Worker float optimization_objective_precision_value = 18; 116*d5c09012SAndroid Build Coastguard Worker } 117*d5c09012SAndroid Build Coastguard Worker 118*d5c09012SAndroid Build Coastguard Worker // Column spec of the dataset's primary table's column the model is 119*d5c09012SAndroid Build Coastguard Worker // predicting. Snapshotted when model creation started. 120*d5c09012SAndroid Build Coastguard Worker // Only 3 fields are used: 121*d5c09012SAndroid Build Coastguard Worker // name - May be set on CreateModel, if it's not then the ColumnSpec 122*d5c09012SAndroid Build Coastguard Worker // corresponding to the current target_column_spec_id of the dataset 123*d5c09012SAndroid Build Coastguard Worker // the model is trained from is used. 124*d5c09012SAndroid Build Coastguard Worker // If neither is set, CreateModel will error. 125*d5c09012SAndroid Build Coastguard Worker // display_name - Output only. 126*d5c09012SAndroid Build Coastguard Worker // data_type - Output only. 127*d5c09012SAndroid Build Coastguard Worker ColumnSpec target_column_spec = 2; 128*d5c09012SAndroid Build Coastguard Worker 129*d5c09012SAndroid Build Coastguard Worker // Column specs of the dataset's primary table's columns, on which 130*d5c09012SAndroid Build Coastguard Worker // the model is trained and which are used as the input for predictions. 131*d5c09012SAndroid Build Coastguard Worker // The 132*d5c09012SAndroid Build Coastguard Worker // 133*d5c09012SAndroid Build Coastguard Worker // [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] 134*d5c09012SAndroid Build Coastguard Worker // as well as, according to dataset's state upon model creation, 135*d5c09012SAndroid Build Coastguard Worker // 136*d5c09012SAndroid Build Coastguard Worker // [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], 137*d5c09012SAndroid Build Coastguard Worker // and 138*d5c09012SAndroid Build Coastguard Worker // 139*d5c09012SAndroid Build Coastguard Worker // [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] 140*d5c09012SAndroid Build Coastguard Worker // must never be included here. 141*d5c09012SAndroid Build Coastguard Worker // 142*d5c09012SAndroid Build Coastguard Worker // Only 3 fields are used: 143*d5c09012SAndroid Build Coastguard Worker // 144*d5c09012SAndroid Build Coastguard Worker // * name - May be set on CreateModel, if set only the columns specified are 145*d5c09012SAndroid Build Coastguard Worker // used, otherwise all primary table's columns (except the ones listed 146*d5c09012SAndroid Build Coastguard Worker // above) are used for the training and prediction input. 147*d5c09012SAndroid Build Coastguard Worker // 148*d5c09012SAndroid Build Coastguard Worker // * display_name - Output only. 149*d5c09012SAndroid Build Coastguard Worker // 150*d5c09012SAndroid Build Coastguard Worker // * data_type - Output only. 151*d5c09012SAndroid Build Coastguard Worker repeated ColumnSpec input_feature_column_specs = 3; 152*d5c09012SAndroid Build Coastguard Worker 153*d5c09012SAndroid Build Coastguard Worker // Objective function the model is optimizing towards. The training process 154*d5c09012SAndroid Build Coastguard Worker // creates a model that maximizes/minimizes the value of the objective 155*d5c09012SAndroid Build Coastguard Worker // function over the validation set. 156*d5c09012SAndroid Build Coastguard Worker // 157*d5c09012SAndroid Build Coastguard Worker // The supported optimization objectives depend on the prediction type. 158*d5c09012SAndroid Build Coastguard Worker // If the field is not set, a default objective function is used. 159*d5c09012SAndroid Build Coastguard Worker // 160*d5c09012SAndroid Build Coastguard Worker // CLASSIFICATION_BINARY: 161*d5c09012SAndroid Build Coastguard Worker // "MAXIMIZE_AU_ROC" (default) - Maximize the area under the receiver 162*d5c09012SAndroid Build Coastguard Worker // operating characteristic (ROC) curve. 163*d5c09012SAndroid Build Coastguard Worker // "MINIMIZE_LOG_LOSS" - Minimize log loss. 164*d5c09012SAndroid Build Coastguard Worker // "MAXIMIZE_AU_PRC" - Maximize the area under the precision-recall curve. 165*d5c09012SAndroid Build Coastguard Worker // "MAXIMIZE_PRECISION_AT_RECALL" - Maximize precision for a specified 166*d5c09012SAndroid Build Coastguard Worker // recall value. 167*d5c09012SAndroid Build Coastguard Worker // "MAXIMIZE_RECALL_AT_PRECISION" - Maximize recall for a specified 168*d5c09012SAndroid Build Coastguard Worker // precision value. 169*d5c09012SAndroid Build Coastguard Worker // 170*d5c09012SAndroid Build Coastguard Worker // CLASSIFICATION_MULTI_CLASS : 171*d5c09012SAndroid Build Coastguard Worker // "MINIMIZE_LOG_LOSS" (default) - Minimize log loss. 172*d5c09012SAndroid Build Coastguard Worker // 173*d5c09012SAndroid Build Coastguard Worker // 174*d5c09012SAndroid Build Coastguard Worker // REGRESSION: 175*d5c09012SAndroid Build Coastguard Worker // "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE). 176*d5c09012SAndroid Build Coastguard Worker // "MINIMIZE_MAE" - Minimize mean-absolute error (MAE). 177*d5c09012SAndroid Build Coastguard Worker // "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE). 178*d5c09012SAndroid Build Coastguard Worker string optimization_objective = 4; 179*d5c09012SAndroid Build Coastguard Worker 180*d5c09012SAndroid Build Coastguard Worker // Output only. Auxiliary information for each of the 181*d5c09012SAndroid Build Coastguard Worker // input_feature_column_specs with respect to this particular model. 182*d5c09012SAndroid Build Coastguard Worker repeated TablesModelColumnInfo tables_model_column_info = 5; 183*d5c09012SAndroid Build Coastguard Worker 184*d5c09012SAndroid Build Coastguard Worker // Required. The train budget of creating this model, expressed in milli node 185*d5c09012SAndroid Build Coastguard Worker // hours i.e. 1,000 value in this field means 1 node hour. 186*d5c09012SAndroid Build Coastguard Worker // 187*d5c09012SAndroid Build Coastguard Worker // The training cost of the model will not exceed this budget. The final cost 188*d5c09012SAndroid Build Coastguard Worker // will be attempted to be close to the budget, though may end up being (even) 189*d5c09012SAndroid Build Coastguard Worker // noticeably smaller - at the backend's discretion. This especially may 190*d5c09012SAndroid Build Coastguard Worker // happen when further model training ceases to provide any improvements. 191*d5c09012SAndroid Build Coastguard Worker // 192*d5c09012SAndroid Build Coastguard Worker // If the budget is set to a value known to be insufficient to train a 193*d5c09012SAndroid Build Coastguard Worker // model for the given dataset, the training won't be attempted and 194*d5c09012SAndroid Build Coastguard Worker // will error. 195*d5c09012SAndroid Build Coastguard Worker // 196*d5c09012SAndroid Build Coastguard Worker // The train budget must be between 1,000 and 72,000 milli node hours, 197*d5c09012SAndroid Build Coastguard Worker // inclusive. 198*d5c09012SAndroid Build Coastguard Worker int64 train_budget_milli_node_hours = 6; 199*d5c09012SAndroid Build Coastguard Worker 200*d5c09012SAndroid Build Coastguard Worker // Output only. The actual training cost of the model, expressed in milli 201*d5c09012SAndroid Build Coastguard Worker // node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed 202*d5c09012SAndroid Build Coastguard Worker // to not exceed the train budget. 203*d5c09012SAndroid Build Coastguard Worker int64 train_cost_milli_node_hours = 7; 204*d5c09012SAndroid Build Coastguard Worker 205*d5c09012SAndroid Build Coastguard Worker // Use the entire training budget. This disables the early stopping feature. 206*d5c09012SAndroid Build Coastguard Worker // By default, the early stopping feature is enabled, which means that AutoML 207*d5c09012SAndroid Build Coastguard Worker // Tables might stop training before the entire training budget has been used. 208*d5c09012SAndroid Build Coastguard Worker bool disable_early_stopping = 12; 209*d5c09012SAndroid Build Coastguard Worker} 210*d5c09012SAndroid Build Coastguard Worker 211*d5c09012SAndroid Build Coastguard Worker// Contains annotation details specific to Tables. 212*d5c09012SAndroid Build Coastguard Workermessage TablesAnnotation { 213*d5c09012SAndroid Build Coastguard Worker // Output only. A confidence estimate between 0.0 and 1.0, inclusive. A higher 214*d5c09012SAndroid Build Coastguard Worker // value means greater confidence in the returned value. 215*d5c09012SAndroid Build Coastguard Worker // For 216*d5c09012SAndroid Build Coastguard Worker // 217*d5c09012SAndroid Build Coastguard Worker // [target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] 218*d5c09012SAndroid Build Coastguard Worker // of FLOAT64 data type the score is not populated. 219*d5c09012SAndroid Build Coastguard Worker float score = 1; 220*d5c09012SAndroid Build Coastguard Worker 221*d5c09012SAndroid Build Coastguard Worker // Output only. Only populated when 222*d5c09012SAndroid Build Coastguard Worker // 223*d5c09012SAndroid Build Coastguard Worker // [target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] 224*d5c09012SAndroid Build Coastguard Worker // has FLOAT64 data type. An interval in which the exactly correct target 225*d5c09012SAndroid Build Coastguard Worker // value has 95% chance to be in. 226*d5c09012SAndroid Build Coastguard Worker DoubleRange prediction_interval = 4; 227*d5c09012SAndroid Build Coastguard Worker 228*d5c09012SAndroid Build Coastguard Worker // The predicted value of the row's 229*d5c09012SAndroid Build Coastguard Worker // 230*d5c09012SAndroid Build Coastguard Worker // [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec]. 231*d5c09012SAndroid Build Coastguard Worker // The value depends on the column's DataType: 232*d5c09012SAndroid Build Coastguard Worker // 233*d5c09012SAndroid Build Coastguard Worker // * CATEGORY - the predicted (with the above confidence `score`) CATEGORY 234*d5c09012SAndroid Build Coastguard Worker // value. 235*d5c09012SAndroid Build Coastguard Worker // 236*d5c09012SAndroid Build Coastguard Worker // * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value. 237*d5c09012SAndroid Build Coastguard Worker google.protobuf.Value value = 2; 238*d5c09012SAndroid Build Coastguard Worker 239*d5c09012SAndroid Build Coastguard Worker // Output only. Auxiliary information for each of the model's 240*d5c09012SAndroid Build Coastguard Worker // 241*d5c09012SAndroid Build Coastguard Worker // [input_feature_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] 242*d5c09012SAndroid Build Coastguard Worker // with respect to this particular prediction. 243*d5c09012SAndroid Build Coastguard Worker // If no other fields than 244*d5c09012SAndroid Build Coastguard Worker // 245*d5c09012SAndroid Build Coastguard Worker // [column_spec_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_spec_name] 246*d5c09012SAndroid Build Coastguard Worker // and 247*d5c09012SAndroid Build Coastguard Worker // 248*d5c09012SAndroid Build Coastguard Worker // [column_display_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_display_name] 249*d5c09012SAndroid Build Coastguard Worker // would be populated, then this whole field is not. 250*d5c09012SAndroid Build Coastguard Worker repeated TablesModelColumnInfo tables_model_column_info = 3; 251*d5c09012SAndroid Build Coastguard Worker 252*d5c09012SAndroid Build Coastguard Worker // Output only. Stores the prediction score for the baseline example, which 253*d5c09012SAndroid Build Coastguard Worker // is defined as the example with all values set to their baseline values. 254*d5c09012SAndroid Build Coastguard Worker // This is used as part of the Sampled Shapley explanation of the model's 255*d5c09012SAndroid Build Coastguard Worker // prediction. This field is populated only when feature importance is 256*d5c09012SAndroid Build Coastguard Worker // requested. For regression models, this holds the baseline prediction for 257*d5c09012SAndroid Build Coastguard Worker // the baseline example. For classification models, this holds the baseline 258*d5c09012SAndroid Build Coastguard Worker // prediction for the baseline example for the argmax class. 259*d5c09012SAndroid Build Coastguard Worker float baseline_score = 5; 260*d5c09012SAndroid Build Coastguard Worker} 261*d5c09012SAndroid Build Coastguard Worker 262*d5c09012SAndroid Build Coastguard Worker// An information specific to given column and Tables Model, in context 263*d5c09012SAndroid Build Coastguard Worker// of the Model and the predictions created by it. 264*d5c09012SAndroid Build Coastguard Workermessage TablesModelColumnInfo { 265*d5c09012SAndroid Build Coastguard Worker // Output only. The name of the ColumnSpec describing the column. Not 266*d5c09012SAndroid Build Coastguard Worker // populated when this proto is outputted to BigQuery. 267*d5c09012SAndroid Build Coastguard Worker string column_spec_name = 1; 268*d5c09012SAndroid Build Coastguard Worker 269*d5c09012SAndroid Build Coastguard Worker // Output only. The display name of the column (same as the display_name of 270*d5c09012SAndroid Build Coastguard Worker // its ColumnSpec). 271*d5c09012SAndroid Build Coastguard Worker string column_display_name = 2; 272*d5c09012SAndroid Build Coastguard Worker 273*d5c09012SAndroid Build Coastguard Worker // Output only. When given as part of a Model (always populated): 274*d5c09012SAndroid Build Coastguard Worker // Measurement of how much model predictions correctness on the TEST data 275*d5c09012SAndroid Build Coastguard Worker // depend on values in this column. A value between 0 and 1, higher means 276*d5c09012SAndroid Build Coastguard Worker // higher influence. These values are normalized - for all input feature 277*d5c09012SAndroid Build Coastguard Worker // columns of a given model they add to 1. 278*d5c09012SAndroid Build Coastguard Worker // 279*d5c09012SAndroid Build Coastguard Worker // When given back by Predict (populated iff 280*d5c09012SAndroid Build Coastguard Worker // [feature_importance 281*d5c09012SAndroid Build Coastguard Worker // param][google.cloud.automl.v1beta1.PredictRequest.params] is set) or Batch 282*d5c09012SAndroid Build Coastguard Worker // Predict (populated iff 283*d5c09012SAndroid Build Coastguard Worker // [feature_importance][google.cloud.automl.v1beta1.PredictRequest.params] 284*d5c09012SAndroid Build Coastguard Worker // param is set): 285*d5c09012SAndroid Build Coastguard Worker // Measurement of how impactful for the prediction returned for the given row 286*d5c09012SAndroid Build Coastguard Worker // the value in this column was. Specifically, the feature importance 287*d5c09012SAndroid Build Coastguard Worker // specifies the marginal contribution that the feature made to the prediction 288*d5c09012SAndroid Build Coastguard Worker // score compared to the baseline score. These values are computed using the 289*d5c09012SAndroid Build Coastguard Worker // Sampled Shapley method. 290*d5c09012SAndroid Build Coastguard Worker float feature_importance = 3; 291*d5c09012SAndroid Build Coastguard Worker} 292