Explain it simpler
Regression is AI that predicts a number, like the price of a house or how many ice creams will sell tomorrow. After training, you check how close its guesses are to the real answers. MAE is the average amount the guesses are off by; if MAE is 3 ice creams, the guesses are usually about 3 off. RMSE is similar but punishes big misses more, so a few huge mistakes make it jump. For both, smaller is better. R² is a score, usually from 0 to 1, that says how much of the up-and-down in the real numbers the model explains. Closer to 1 is better. Think of a darts player: MAE is how far the darts land from the bullseye on average, and RMSE gets much worse if a few darts hit the wall.
At Oakline Realty, data analyst Grace has trained two models that estimate home sale prices, and the sales director wants to know which one to put in front of agents on Monday. Grace's validation report shows a row of numbers for each model: MAE, RMSE and R². Model A has the lower average error, but Model B has a higher R². The director squints at the report and asks, 'Is a bigger number good or bad here? And why does one model miss a few luxury homes by hundreds of thousands while the other is consistently a little off?' Grace has five minutes to explain. What do these metrics actually tell her, and which one matters most for this decision?
Regression is supervised machine learning that predicts a numeric value. How much will this house sell for? How many ice creams will we sell tomorrow? How many minutes will this delivery take? If the label is a number on a continuous scale, the task is regression. If the label is a category, such as yes or no, it is classification instead, which you will study next. Spotting that difference in a scenario is the first step to answering most regression questions on AI-900.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.