Machine Learning
Fitting the model…
Initializing Sorting Algorithms...
Sorting
Trees
Graphs
Preparing interactive visualizations...
Machine Learning
Fitting the model…
Two routes to the best line: roll a ball down the loss bowl with gradient descent, or solve the normal equations in one step. They arrive at the same place.
Grab a point to take over in Explore.
Ten points and one line, ŷ = w·x + b, scored by the mean squared error. This line, w = 0.0 and b = −1.0, has loss 4.076. Linear regression asks for the w and b with the smallest loss — and there are two very different ways to find them.