The ML Accelerator is a purpose-built Looker application designed to give business users access to BigQuery and Vertex AI's machine learning capabilities. It provides a user-friendly interface designed to guide the user through each step of creating a machine learning model. Because of its simple, no-code interface, the application serves as a pathway for business analysts to learn and use predictive analytics in Looker.
View the ML Model Creation Flow document for an example of an end-to-end user journey.
Additional configuration is required after installation. A Looker Admin should complete the application configuration using the Installation Instructions below.
Report bugs or feature requests with this form. Contact [email protected] with questions or comments.
You will need to select a BigQuery connection during installation. The application can only be used with a single connection to prevent data from moving between connections. The connection chosen will determine which Looker Explores will be accessible from within the application.
The service account used by the BigQuery connection chosen in Step 1 should have the following IAM predefined roles.
- BigQuery Data Editor
- BigQuery Job User
- Vertex AI User
Create a dataset (e.g., looker_bqml
) in the BigQuery connection's GCP project.
The application can be installed directly from Looker Marketplace (recommended) or manually installed following the steps below.
Refer to the Looker Docs for installing a tool from Marketplace. Select the BigQuery connection name chosen in Step 1 during installation.
-
Create a blank LookML project named
marketplace_bqml_ext
IMPORTANT: The LookML project must be named
marketplace_bqml_ext
-
Update the value of the CONNECTION_NAME constant in the
manifest.lkml
file
The application uses three Looker user attributes to store its configuration settings. The following user attributes are required for the application to work properly. Each user attribute needs to be named exactly as listed below with a data type of String
. The recommended setting for user access is None
.
Create the following user attributes and set their default values.
Required User Attribute Name | Default Value Description |
---|---|
marketplace_bqml_ext_ml_accelerator_bigquery_connection_name | Connection name chosen in Step 1 |
marketplace_bqml_ext_ml_accelerator_gcp_project | Projectd ID of the BigQuery dataset created in Step 3 |
marketplace_bqml_ext_ml_accelerator_bqml_model_dataset_name | Name of BigQuery dataset created in Step 3 (e.g., looker_bqml ) |
The application is designed for users with access to Explores and SQL Runner in Looker. Users will need the following permissions to use the application.
explore
use_sql_runner
We recommend creating a new Looker role to easily manage user access to the application and guarantee users have the required permissions above.
- Create a new Looker model set named
ML Accelerator
containing the LookML modelml_accelerator
- Create a new Looker permission set named
ML Accelerator
containing all the permisions in the default User permission set AND theuse_sql_runner
permission - Create a new Looker role named
ML Accelerator
using the new model and permission set - Assign the
ML Accelerator
role to Looker users and groups