Mean Versus Median Intercept
Five observations, no features, so the model is a single constant :
One fit minimizes (ordinary least squares). The other minimizes , which is what QuantileRegressor(quantile=0.5) does.
What constant does each produce?
Sign in to answer questions and track your progress
Sign In