Click on the chart to add data points, then fit a regression line to see machine learning in action!
Linear Regression is one of the most fundamental algorithms in machine learning and statistics. It models the relationship between a dependent variable (y) and one or more independent variables (x) by fitting a linear equation to observed data.
R² (R-squared): Proportion of variance in the dependent variable that's predictable from the independent variable. Ranges from 0 to 1, where 1 indicates perfect fit.
MSE (Mean Squared Error): Average squared difference between predicted and actual values. Lower is better.
• Sales Forecasting: Predict future sales based on historical data
• Price Prediction: Estimate house prices, stock prices, etc.
• Risk Assessment: Evaluate insurance premiums or credit risk
• Trend Analysis: Identify patterns in time series data
• Scientific Research: Model relationships between variables