Home / ML Associate practice test / Model Development / Question

Databricks Machine Learning Associate · free practice question

A regression target was log-transformed before training to stabilize variance. The team wants the training object itself to handle inverse transformation of…

Exam-style question on Model Development from the free ML Associate practice test, with the answer and a full explanation below.

Updated November 10, 2026

Model Development

A regression target was log-transformed before training to stabilize variance. The team wants the training object itself to handle inverse transformation of predictions automatically during inference. Which tool is the best fit?

  1. AA StandardScaler applied to the target column, because it restores predictions to the original scale at predict time
  2. BA FeatureHasher, because hashing target values lets the model decode them back to raw numeric units during scoring
  3. CA GridSearchCV object, because the refit step of the hyperparameter search reverses target transformations at predict time
  4. DA TransformedTargetRegressor, because it wraps a regressor and applies the target transform and its inverse consistently
  5. EA KFold splitter, because each fold stores the target transformation and averages the inverse predictions afterward
Answer & explanation

Correct answer: D

WHY D: TransformedTargetRegressor is designed to transform the target during fitting and apply the inverse transform to predictions automatically.

WHY NOT A: StandardScaler alone does not wrap prediction logic for the target.

WHY NOT B: Feature hashing is unrelated to target inversion.

WHY NOT C: GridSearchCV does not perform inverse target transforms by itself.

WHY NOT E: KFold only defines splits.

Take the full ML Associate practice test free →

Would you pass today?

This question is one of 45 in the free, timed Databricks Machine Learning Associate practice test. Take it and get a section-by-section score.

Start the free test →