Created
February 6, 2021 00:12
-
-
Save doit-mattporter/90f25646cfc1d16e21a793ed87ea1c9a to your computer and use it in GitHub Desktop.
Construct an AutoML model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Construct AutoML model | |
bq query --nouse_legacy_sql \ | |
"CREATE OR REPLACE MODEL ${PROJECT_ID}.sensordata.temperature_automl_model | |
OPTIONS(MODEL_TYPE=\"AUTOML_CLASSIFIER\", | |
BUDGET_HOURS=24.0, | |
INPUT_LABEL_COLS=[\"object_code\"]) | |
AS SELECT * EXCEPT (timestamp_utc, timestamp_epoch) FROM ${PROJECT_ID}.sensordata.temperature_pivoted_timediff" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment