Linear Regression
Linear regression finds the best-fit line y = mx + b through a set of data points by minimizing the sum of squared residuals.
Slope: m = (nΣxy - ΣxΣy) / (nΣx² - (Σx)²)
Intercept: b = ȳ - m×x̄
Enter X and Y data sets to find the best-fit line and make predictions.
Was könnten wir verbessern?
Linear regression finds the best-fit line y = mx + b through a set of data points by minimizing the sum of squared residuals.
Slope: m = (nΣxy - ΣxΣy) / (nΣx² - (Σx)²)
Intercept: b = ȳ - m×x̄