Access control
Client libraries
-
BigQuery client libraries
Get started with BigQuery in your language of choice.
-
`pandas-gbq` to BigQuery Python client library migration guide
Guide for migrating code from `pandas-gbq` to the Python client library, `google-cloud-bigquery`.
-
Migrating from the `datalab` Python package
Guide for migrating code from the `datalab` Python package to the BigQuery Python client library.
bq
command-line tool reference
BigQuery ML GoogleSQL reference
-
End-to-end user journey for each model
An overview of all supported model types with their supported SQL statements and functions.
-
The
CREATE MODEL
statementCreating and training models using the
CREATE MODEL
statement. -
The
ALTER MODEL
statementUpdating models using the
ALTER MODEL
statement. -
The
DROP MODEL
statementDeleting models using the
DROP MODEL
statement. -
The
EXPORT MODEL
statementExporting models using the
EXPORT MODEL
statement. -
The feature preprocessing functions
Using the preprocessing functions for feature engineering.
-
The
ML.EVALUATE
functionUsing the
ML.EVALUATE
function to evaluate models. -
The
ML.ROC_CURVE
functionUsing the
ML.ROC_CURVE
function to retrieve information about classification models. -
The
ML.CONFUSION_MATRIX
functionUsing the
ML.CONFUSION_MATRIX
function to return a confusion matrix for a given classification model and input data. -
The
ML.PREDICT
functionUsing the
ML.PREDICT
function to predict outcomes. -
The
ML.RECOMMEND
functionUsing the
ML.RECOMMEND
function to make recommendations. -
The
ML.FORECAST
functionUsing the
ML.FORECAST
function to perform time series forecasting. -
The
ML.EXPLAIN_FORECAST
functionUsing the
ML.EXPLAIN_FORECAST
function to perform time series forecasting with detailed components of the time series. -
The
ML.ARIMA_EVALUATE
functionUsing the
ML.ARIMA_EVALUATE
function to inspect theARIMA_PLUS
model evaluation metrics and possible error message. -
The
ML.ARIMA_COEFFICIENTS
functionUsing the
ML.ARIMA_COEFFICIENTS
function to inspect theARIMA_PLUS
model coefficients. -
The
ML.TRAINING_INFO
functionUsing the
ML.TRAINING_INFO
function to retrieve model training information. -
The
ML.FEATURE_INFO
functionUsing the
ML.FEATURE_INFO
function to retrieve model feature information. -
The
ML.WEIGHTS
functionUsing the
ML.WEIGHTS
function to see the underlying weights used by a model during prediction. -
The
ML.EXPLAIN_PREDICT
functionUsing the
ML.EXPLAIN_PREDICT
function to understand a model's predictions. -
The
ML.DETECT_ANOMALIES
functionUsing the
ML.DETECT_ANOMALIES
function to detect anomalies in the training data or in the prediction data. -
The
ML.RECONSTRUCTION_LOSS
functionUsing the
ML.RECONSTRUCTION_LOSS
function to compute reconstruction losses and detect anomalies.