Free Online Flashcard Deck

2 Features, Labels, and Data Preparation Free Online FlashCards

Study 2 Features, Labels, and Data Preparation with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What does each supervised-learning example pair?

Back

A dataset is a collection of examples. In supervised learning, each example pairs features with a label.

02
Front

What makes a feature suitable for prediction?

Back

Features are the information given to a model for prediction. They should be useful and available when the model is used.

03
Front

In dataset notation, what do XX and yy usually represent?

Back

Features are often written as XX, and labels as yy.

04
Front

What kinds of data can features contain?

Back

Features can be numeric, categorical, text, dates, or other data types. The model may require transformations suited to its needs.

05
Front

Name three ways to transform features during preparation.

Back

Encoding categories, scaling numeric values, or converting dates into useful components can prepare features for a model.

06
Front

What data-quality checks should precede training?

Back

Check that examples match their labels, identify missing, invalid, or inconsistent values, and look for duplicates.

07
Front

What is data leakage?

Back

Data leakage occurs when features reveal the answer indirectly or include information unavailable at prediction time, making evaluation look overly good.

08
Front

How should data-dependent preprocessing be fitted?

Back

Fit data-dependent transformations using only the training set, then apply those fitted transformations to validation, test, and future data.

09
Front

What are the training and validation sets used for?

Back

The training set fits the model and learns patterns. The validation set supports development choices, such as comparing models or settings.

10
Front

Why use stratified splitting for classification?

Back

Stratified splitting can help preserve class proportions in each subset when creating classification splits.

11
Front

How should data be split when multiple rows belong to one group?

Back

Keep each person, household, or other group entirely within one subset so related rows do not cross split boundaries.

12
Front

How should time-dependent data be split?

Back

Split chronologically so training examples precede validation and test examples, reflecting how future data will be encountered.