BigQuery ML - bobbae/gcp GitHub Wiki
BigQuery ML enables users to create and execute machine learning models in BigQuery by using SQL queries.
https://towardsdatascience.com/creating-a-machine-learning-model-with-sql-81d843a5307c
https://medium.com/@alidoggaz/doing-ai-with-sql-syntax-bigquery-cea910b47bb7
BigQuery ML Algorithms supported
Linear regression
https://cloud.google.com/bigquery-ml/docs/linear-regression-tutorial
Forecast numerical values with a linear model
https://machinelearningmastery.com/linear-regression-for-machine-learning/
Binary logistic regression
https://cloud.google.com/bigquery-ml/docs/logistic-regression-prediction
Implementing Binary Logistic Regression
https://towardsdatascience.com/implementing-binary-logistic-regression-in-r-7d802a9d98fe
BigQuery ML in production
K-means clustering
https://cloud.google.com/bigquery-ml/docs/kmeans-tutorial
k-means clustering is a method of vector quantization, originally from signal processing, that aims to partition n observations into k clusters in which each observation belongs to the cluster with the nearest mean (cluster centers or cluster centroid).
https://en.wikipedia.org/wiki/K-means_clustering
Multiclass logistic regression
For classification scenarios when the choice is between multiple options
https://gluon.mxnet.io/chapter02_supervised-learning/softmax-regression-scratch.html
Matrix factorization
https://cloud.google.com/bigquery-ml/docs/bigqueryml-mf-explicit-tutorial
For developing recommendation engines based on past information
https://developers.google.com/machine-learning/recommendation/collaborative/matrix
Time series and ARIMA
https://en.wikipedia.org/wiki/Autoregressive_integrated_moving_average
https://cloud.google.com/bigquery-ml/docs/arima-single-time-series-forecasting-tutorial
To forecast business KPIs leveraging time series data from the past
https://otexts.com/fpp2/arima.html
Boosted tree
https://xgboost.readthedocs.io/en/latest/tutorials/model.html
For classification and regression use cases with XGBoost
AutoML Tables
To leverage AutoML capabilities from the BigQuery SQL interface
https://cloud.google.com/automl-tables/docs
Deep Neural Network (DNN)
For developing TensorFlow models for classification or regression scenarios, avoiding any lines of code
https://machinelearningmastery.com/what-is-deep-learning/
BigQuery ML NYC Bike Sharing DNN Example
Explainable AI and BigQuery ML
https://medium.com/codex/using-explainable-ai-in-bigquery-ml-1ec9ac0a7228
Vertex AI Pipelines and BigQuery ML
BigQuery ML Tutorials
https://cloud.google.com/bigquery-ml/docs/tutorials
Using AutoML Tables with BigQuery ML
AutoML Tables let you build and deploy machine learning models using structured data and explain prediction results. It can be used along with BigQuery ML. This makes it easy to train Tables models on BigQuery data using SQL from BigQuery UI and evaluate and use the models for prediction directly via SQL.
https://amygdala.github.io/gcp_blog/ml/automl/bigquery/2020/07/14/bqml_tables.html
To train an AutoML Tables model inside of BigQuery, use the BigQuery ML CREATE MODEL statement with one of the AutoML Tables model types.
https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-create-automl
Rapid Batch Inference in BQML
https://medium.com/tinyclues-vision/rapid-batch-inference-in-google-cloud-3d4345a11fdc
Unsupervised anomaly detection for time series and non-time series data
https://cloud.google.com/blog/products/data-analytics/bigquery-ml-unsupervised-anomaly-detection
Explaining BigQuery ML Model
https://towardsdatascience.com/explaining-a-bigquery-ml-model-5cf8d9636ec9
BigQuery ML Book
https://github.com/PacktPublishing/Machine-Learning-with-BigQuery-ML
BQML Videos
https://www.youtube.com/playlist?list=PLeLcvrwLe187Kk5QIqt7Kb8qdQSQd9AcY
BQML Cheatsheet
https://medium.com/fifty-five-data-science/bigquery-machine-learning-cheat-sheet-7c053b21a657
Build a Recommender with BQML
https://medium.com/g-company/build-a-recommender-with-bigquery-ml-15e67a457548
BigQuery ML Models deployment with Vertex AI and Kubeflow
https://medium.com/@corba77/bigquery-ml-models-deployment-with-vertex-ai-and-kubeflow-2cff8586277f
Predicting Taxi fares
Predict transactions on your website
https://towardsdatascience.com/predict-transactions-on-your-website-using-big-query-ml-c365f58d29ca
Apply ML to unstructured data using BigQuery ML
Training a ML model using GA4 data
Prediction model for the Movie Score using BQML
Qwiklabs
Applying BQML's Classification, Regression, and Demand Forecasting for Retail Applications
https://google.qwiklabs.com/quests/162
Predict Visitor Purchases with a Classification Model in BQML
GSP229