File size: 1,366 Bytes
62d1e0f
 
 
 
 
 
 
 
24d4e3b
62d1e0f
 
 
 
ae86659
62d1e0f
 
 
 
 
 
 
 
 
 
ae86659
62d1e0f
 
 
 
 
 
 
24d4e3b
62d1e0f
24d4e3b
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
# Usage

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

---

### Data

In the data tab, select a predefined regression dataset, or choose **Custom** to generate a dataset using a custom function or upload a CSV file. Predefined datasets have standardized covariates and a centered target. Make sure the function depends on `x1` and `x2`.


### Regularization

Select your loss function and regularization type. Set the regularization level range as two comma-separated values (for example, `0.001, 50`).

### 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 across the selected regularization level range. 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.


### Regularization path plot

The regularization path plot shows regularization strength versus coefficient value for every covariate. Datasets with more than two covariates show only this plot. These match the values shown on the red regularization path in the contour plot.