CertLumen

Databricks Machine Learning Associate · Section 1 · 38% of the exam

Identify the advantages of using ML runtimes

One of the objectives of the Databricks Certified Machine Learning Associate exam, in the section “Databricks Machine Learning”. Here is what it covers, the points to remember and a question to try.

What it covers

Databricks Runtime for Machine Learning gives you a tested, pre-installed ML stack on classic compute, and AutoML uses it to prepare data, train and tune many models, and hand you notebooks for the best one. This lesson covers what each provides, where serverless fits, and the AutoML details the exam asks about.

Points to remember

  • Databricks Runtime ML = classic compute with a pre-installed, tested ML stack (scikit-learn, XGBoost, LightGBM, PyTorch, MLflow, Optuna, Ray, Feature Engineering client); tick Machine learning in the compute form.
  • Ticking Machine learning sets Dedicated access mode, which ML runtimes need for Unity Catalog data; AutoML does not run in Standard access mode.
  • GPU ML runtimes include CUDA, cuDNN and NCCL; AI Runtime is the serverless GPU option (Public Preview).
  • Databricks Autologging is on by default on ML runtimes (10.4 LTS ML+) but not on serverless: call mlflow.autolog().
  • AutoML is built into ML runtimes up to 17.3 LTS ML; from 18.0 ML it is no longer a built-in library.

Try a question

A data scientist starts an AutoML regression experiment with automl.regress(dataset=df, target_col="price") and does not set primary_metric. Which metric does AutoML use to rank the trials?

  1. Armse
  2. Br2
  3. Cf1
  4. Dsmape
Show the answer

B. AutoML ranks trials by the primary metric on the validation set. The defaults are r2 for regression, f1 for classification and smape for forecasting. For regression you can set primary_metric to r2, mae, rmse or mse.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson ML runtimes and AutoML teaches this objective (about 35 minutes), and 17 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 48 objectives · Next objective →