Databricks Machine Learning Associate exam dumps

Databricks Machine Learning Associate practice question 518 of 656

Databricks Certified Machine Learning Associate. Associate level, Databricks. Free question with the correct answer and a full explanation.

Databricks Machine Learning Associate Question 518

Select 2

You are working on a machine learning project with a dataset that contains missing values in a numeric column. You are deciding whether to impute the missing values using the mean, median, or mode. Under which circumstances would imputing with the median be more appropriate than imputing with the mean or mode?

  1. A

    When the column has a skewed distribution

  2. B

    When the column has a large number of categorical values

  3. C

    When the column has a symmetric distribution

  4. D

    When the column contains outliers

Show answer and explanation

Correct answers: A, D

Explanation

Imputing missing values with the median is particularly useful when the column has a skewed distribution or contains outliers because the median is robust to extreme values. In contrast, the mean can be heavily influenced by outliers, and the mode is more applicable to categorical data.

  • A. Correct.

    Imputing with the median is often more appropriate for skewed distributions because the median is less affected by extreme values compared to the mean.

  • B. Incorrect.

    The mode is better suited for categorical columns, so imputing with the median would not typically be relevant in this scenario.

  • C. Incorrect.

    For symmetric distributions, the mean and median are usually similar, so either can be used. There is no specific advantage to using the median in this case.

  • D. Correct.

    The median is robust to outliers, unlike the mean, making it a better choice for columns with outliers.

Timed practice exam

Take a Databricks Machine Learning Associate practice test under exam conditions

48 questions in 90 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam