Explain it simpler
To train a model, you start with a table of past examples. The columns you use as clues are called features, like the temperature and whether it is a weekend. The column you want to predict is called the label, like how many bikes were rented. The computer studies many rows to learn how the clues connect to the answer. But you must hide some rows during training and test the model on them afterward, like a teacher keeping some exam questions secret instead of handing out the answer sheet in advance. If the model only does well on the rows it studied, it memorized rather than learned. Once it passes the test, you use it on new days where the answer is unknown.
It is the end of a long sprint at Pedal City Bikes, a bike-sharing company, and data analyst Tomas is thrilled. His new model predicts daily rentals with almost perfect accuracy on two years of history. He presents it to the operations manager, who schedules staff for next week based on its forecasts. Then the week arrives, and the predictions are wildly off: far too many staff on a rainy Tuesday, far too few on a sunny holiday. Tomas checks his work and realizes he tested the model on the very same days it learned from. The model had memorized the past instead of learning the pattern. What should he have done differently, and how do you know whether a model will work on days it has never seen?
Machine learning (ML) starts with data, usually arranged as a table. Each row is an observation (one house, one patient, one transaction) and each column is a value describing it. Understanding what the columns are for is the foundation of every other ML topic on AI-900, so it is worth being precise about the vocabulary from the start.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 8 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.