BigQuery ML Utils
Project description
BigQuery ML Utils
BigQuery ML (aka. BQML) lets you create and execute machine learning models in BigQuery using standard SQL queries. The BigQuery ML Utils library is an integrated suite of machine learning tools for building and using BigQuery ML models.
Installation
Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.
With virtualenv, it's possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
Mac/Linux
pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install bigquery-ml-utils
Windows
pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install bigquery-ml-utils
Overview
Inference
Transform Predictor
The Transform Predictor feeds input data into the BQML model trained with TRANSFORM. It performs both preprocessing and postprocessing on the input and output. The first argument is a SavedModel which represents the TRANSFORM clause for feature preprocessing. The second argument is a SavedModel or XGBoost Booster which represents the model logic.
XGBoost Predictor
The XGBoost Predictor feeds input data into the BQML XGBoost model. It performs both preprocessing and postprocessing on the input and output. The first argument is a XGBoost Booster which represents the model logic. The following arguments are model assets.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for bigquery_ml_utils-0.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c92985c6ceffc3308da7697bd7b99ad007b15fd10ae6ed98d15222d523a5d7ea |
|
MD5 | 65cb34027f2836bab72adfd39c13d254 |
|
BLAKE2b-256 | b9e1a403fd60890ef7efc506fc143b060007a6aadc73f331babe16f38082c125 |
Hashes for bigquery_ml_utils-0.1.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90190038e9b2f1c31b9c73e66ac8e3a2705287b2c7975383e0fe97ca064e35db |
|
MD5 | f94675f138ae0970fb47dc3dfd03ea25 |
|
BLAKE2b-256 | 46f2c7a4f468909e98a985a731527e97c1fd4ba29f8c8859d2a55a3a5ee70d12 |
Hashes for bigquery_ml_utils-0.1.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54ceb170208f4e51ebc8b7d35432451062fb824c6f5dc3f3ecdaf69777b93a7a |
|
MD5 | 8485842b692610cc2d76556cd9a3c1e7 |
|
BLAKE2b-256 | ead5b8d4394c03fad9de9380e652ddddea88731a1c5d079d73c11d207edc59ef |
Hashes for bigquery_ml_utils-0.1.9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee243e48991c29341a933fe7afe84623f3a9a71cece74dd0ab035d91f899347a |
|
MD5 | 5263ece902f5104c61b6615441d2abac |
|
BLAKE2b-256 | 5a573984b34f89fde4450f0907dd54161f333282f43d5200d5c90bb165f331c8 |