Let’s Get Certified
Module 07 / 15 · Scale prototypes into ML models

Choose a model and deployment strategy

Fit model complexity, training product and inference location to the decision.

Choose a model and deployment strategy

Work through the decision

A warehouse must score parcels even when its network link is down. Its regulator also requires operators to explain why an item was flagged. How should the first model be chosen?

Check your reasoning

Define the permitted input fields and the latency, memory and explanation requirements. Start with an interpretable baseline such as a small tree, replay labeled cases and benchmark the exported model on the actual device. A hosted endpoint cannot serve a disconnected scanner. Compare a more complex model only if its benefits justify how it will be explained and operated.

Watch the source lesson at 1:02:14

Compare the choices

Interpretable baseline
Test a transparent model such as a shallow decision tree or linear model when a faithful account of the decision is required.
Edge inference
Run a compatible artifact locally when connectivity or device latency requires it. Test runtime, memory and update procedures on the device.
Batch prediction
Score a collection asynchronously when the consumer has a deadline measured in hours. Size the job against the delivery window.
Managed custom training
Use a managed training job when custom architecture, losses or dependencies exceed the managed low-code workflow. Package code and outputs reproducibly.

Test the decision

A nightly planner has a different decision deadline. Batch scoring can process its table without an always-on endpoint. A chat response needs online inference, while SQL-native labeled records may support BigQuery ML training with little data movement.

Practice the guide skills

  1. Choose a forecasting, tabular, deep learning or language model for four distinct inputs and outputs. Give a cheap baseline for the forecasting case. Watch 1:02:14
  2. Compare SQL-native BigQuery ML, Agent Platform AutoML and a custom pipeline for a labeled warehouse table with a specialized loss function. Watch 1:02:46
  3. Assign online, batch or edge deployment to a checkout request, nightly plan and disconnected scanner. Quantify the deadline for each. Watch 1:03:59
  4. Compare a small tree and a higher-scoring complex model against a requirement for an inspectable decision path. Record how a reviewer could challenge one prediction. Watch 1:05:09

Official objectives for this lesson

Related lesson · Match the storage engine to reads and writes

Knowledge check

Choose a model and deployment strategy quiz

Answer 3 questions. Check each answer for an explanation.