huabdul commited on
Commit
f4f634e
1 Parent(s): d81fb12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -53,6 +53,8 @@ def create_plot(outlier_ratio=0.1, epsilon=1.35):
53
 
54
 
55
  info = '''
 
 
56
  This example demonstrates a simple linear regression problem in the existence of outliers, and compares the effectiveness of Huber regression vs Ridge regression.
57
 
58
  [Ridge regression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Ridge.html), which is essentially basic L2 linear regression with regularization (but regularization is neglected here), suffers from outliers because the outlying data points are going to heavily increase the loss, forcing the best-fit line to lean towards the outliers to decrease that loss.
 
53
 
54
 
55
  info = '''
56
+ # Robustness Against Outliers: Huber vs Ridge Regression
57
+
58
  This example demonstrates a simple linear regression problem in the existence of outliers, and compares the effectiveness of Huber regression vs Ridge regression.
59
 
60
  [Ridge regression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Ridge.html), which is essentially basic L2 linear regression with regularization (but regularization is neglected here), suffers from outliers because the outlying data points are going to heavily increase the loss, forcing the best-fit line to lean towards the outliers to decrease that loss.