Can we predict something with a straight line?
Can we predict something with a straight line?
Imagine you're trying to guess how many apples you'll sell based on the temperature outside. You notice that on warmer days, you sell more apples.
You can guess the number of apples sold by drawing a straight line through your sales data. This line helps you predict sales on days with different temperatures.
Example
If you sold 10 apples on 70°F and 20 apples on 80°F, drawing a straight line through these points helps guess sales at 75°F.
Remember this
Drawing a straight line through your data helps predict future outcomes by finding a simple relationship between two things.
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
Ridge regression
Why do straight lines sometimes fail to fit our data perfectly?
Overfitting
Why does fitting too much detail to data ruin predictions?
to standardize: when you need zero mean and unit variance for gradient-based optimization
Why do we need to make data uniform before training a model?
Lasso (statistics)
Ever wondered how to pick the best features for a machine learning model?
Bootstrapping (statistics)
Small sample sizes can mislead standard error estimates
Deep learning
Why do smart phones sometimes struggle to recognize new faces?
Swipe through more Machine Learning concepts
Open Pocket Polymath