May we use cookies so Meta, Google, LinkedIn and ChatGPT see your visit and we learn which ads work? PrivacyMay we use cookies to see which pages help, and let Meta, Google, LinkedIn and ChatGPT see your visit, so we know which of our ads work? That way we spend less on ads that do not work. We do not sell your data, and the site works the same if you decline. You can change your answer at any time under Cookie settings at the foot of the page. Privacy policy
Loading...
AI Engineering · Features And Feature Stores
Free preview: the first 2 parts of this 26-part lesson.
Already bought the course? Sign in to read the whole lesson.
this lesson is part of
Generative AI and Agentic AI Engineering
Unlock this lesson and the 208 other paid lessons
$35 once, by card or PayPal
See the Generative AI and Agentic AI courseread the rest of this lesson in
Generative AI and Agentic AI Engineering
Unlock this lesson and the 208 other paid lessons
$35 once, by card or PayPal
See the Generative AI and Agentic AI coursein Features And Feature Stores
This lesson is part of the AI Engineering course. Unlock the full course, a separate one-time payment, for lifetime access.
One-time payment by card or PayPal
Get Lifetime AccessOne-time payment: UPI, card or netbanking
Get Lifetime AccessFoundation lessons of this course are free, no payment needed. Try them now
Let me start with a picture.
Think of the person at the front desk of a busy office, or the counter of a small shop. People come and go all day. After a few months, she can often tell who will be back next week and who will not.
How does she do it? She does not look at the last thing you handed her. She remembers other things about you: how often you come, how long ago you last came, and how much you usually bring.

A machine learning model can only see what you hand it. If you hand it the last receipt, it sees one receipt. If you hand it "comes twice a month, last came four days ago", it sees a regular. Those handed-over facts are called features, and this lesson measures how much they are worth.
Every team argues about one question. When a model is not good enough, should you spend the week on a better model, or on better features? I measured both on the same real data.
Please read this slide slowly if any word is new. Every slide after it uses these words.

Model. A program that learns a pattern from examples, then uses the pattern to make a guess about new cases.
Raw column. A value copied straight from one record, with no work done on it. The price on one invoice line is a raw column.
Feature. Any number the model reads. In practice the word usually means a number someone worked out, often from many records: "how many orders in the last year" is a feature. I call these made features in this lesson, to keep them apart from raw columns.
Label. The answer the model must learn. Here: did this customer buy again in the 30 days after a given date? Yes is 1, no is 0.
Cutoff. The date of the guess. Everything the model reads must come from before it.
Base rate. The share of customers whose label is 1.
Tuning. Trying many settings of one model, such as how fast it learns or how big its trees grow, and keeping the setting that scores best.