Learn Before
Example

Linear Regression One-Dimensional Fit

In the simplest case of one-dimensional inputs, a linear regression model attempts to fit a straight line through the observed data points. The fitness of this line depends purely on the choice of model parameters (the weight and the bias), which are adjusted to minimize the distance between the line's predictions and the true target values.

Image 0

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L