CompTIA DataX DY0-001 (V1) Practice Question

A data science team is training a deep neural network to forecast intraday cryptocurrency returns. The target occasionally exhibits extreme spikes that are genuine (not data errors) but occur less than 1% of the time. When the team optimizes the model with mean-squared error, the network overfits to those rare points and produces unstable forecasts. They want a loss function that remains smooth and differentiable near zero error for standard gradient-based optimizers, but also sharply reduces the influence of very large residuals by changing the penalty from quadratic to linear once a tunable threshold is exceeded.

Which loss function best satisfies these requirements, and why?

  • Quantile (pinball) loss - it applies asymmetric linear penalties based on a chosen quantile, emphasizing under- or over-predictions rather than specifically limiting outliers.

  • Huber loss - it is quadratic for small residuals and becomes linear once the error magnitude exceeds a chosen threshold, limiting outlier influence while preserving differentiability.

  • Mean-squared error - it squares every residual, increasing the penalty for large errors so the model focuses on the extreme spikes.

  • Log-cosh loss - it smoothly approximates squared error near zero and absolute error for larger residuals but does not switch to a strict linear penalty at any threshold.

CompTIA DataX DY0-001 (V1)
Machine Learning
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

SAVE $64
$529.00 $465.00
Bash, the Crucial Exams Chat Bot
AI Bot