File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def f(x):
24
24
25
25
# %%
26
26
# To make the problem interesting, we generate observations of the target y as
27
- # the sum of deterministic term computed by the function f and a random noise
27
+ # the sum of a deterministic term computed by the function f and a random noise
28
28
# term that follows a centered `log-normal
29
29
# <https://en.wikipedia.org/wiki/Log-normal_distribution>`_. To make this even
30
30
# more interesting we consider the case where the amplitude of the noise
@@ -182,8 +182,9 @@ def highlight_min(x):
182
182
# squares estimator in terms of MSE on the test set: this can be explained by
183
183
# the fact the least squares estimator is very sensitive to large outliers
184
184
# which can cause significant overfitting. This can be seen on the right hand
185
- # side of the previous plot. The conditional median estimator is naturally
186
- # robust to outliers and overfits less.
185
+ # side of the previous plot. The conditional median estimator is biased
186
+ # (underestimation for this asymetric noise) but is also naturally robust to
187
+ # outliers and overfits less.
187
188
#
188
189
# Tuning the hyper-parameters of the quantile regressors
189
190
# ------------------------------------------------------
You can’t perform that action at this time.
0 commit comments