File size: 1,079 Bytes
62d1e0f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Usage

In this visualizer, you visualize the loss and regularization of linear regression models on a given dataset.

---

### Data

In the data tab, generate a dataset using a custom function or upload a csv file. Make sure the function depends on `x1` and `x2`.


### Regularization

Select your loss function and regularization type

### Generating plots

Click **Regenerate Plots** to update plots with the current settings

---

### Contour Plot

The contour plot shows the loss values and the regularization norms for the linear models on the dataset. The red path shows how the loss and regularization norm values
change as the regularization strength moves from 10^{-4} to 10^4 (log scale). You can see that the path intersects where the loss and regularization contours are parallel.


### Data Plot

The data plot shows the data points used to compute the loss values.


### Strength Plot

The strenght plot is a line plot of regularization strength vs weight value for `w1` and `w2`. These match the values shown on the red regularization path in the contour plot.