← Back to CoursesArtificial Intelligence: Intermediate

Neuroanatomy Explorer

Drag to rotate · scroll to zoom · click regions to explore

View
Loading 3D model…

Click a region
to explore it

Memory Deck

Flip each card and rate whether you knew it. Your score is saved.

Term
Definition

Deck complete — score saved.

Match the Pairs

Match each term to its definition. Finish the board to earn your score.

All matched — score saved.

Concept Constellation

Every key idea in this course, mapped as an explorable 3D constellation. Drag to rotate, scroll to zoom, click a node.

Click a node to read its definition.

Feature Engineering and Data Preprocessing

Manual: General · Subject: Artificial Intelligence

Learn how input data is transformed so models can learn effectively.

Preparing Data for Learning

Why Preprocessing Matters

Raw data often contains missing values, inconsistent formats, outliers, and scales that make learning difficult. Preprocessing helps convert data into a form that supports reliable modeling.

Scaling and Encoding

Numerical features may be standardized using z=x−μσz = \frac{x - \mu}{\sigma}, while categorical features may be encoded as one-hot vectors or embeddings depending on the model.

Typical Data Pipeline

  1. 1

    Step 1: Collect and inspect the raw dataset.

  2. 2

    Step 2: Handle missing values and remove obvious errors.

  3. 3

    Step 3: Encode categorical variables and scale numeric features.

  4. 4

    Step 4: Split the data into training, validation, and test sets.

  5. 5

    Step 5: Train and evaluate the model.

Why is feature scaling often used?

What is one-hot encoding?

⚠️

Data leakage

Never use information from the validation or test set when preprocessing the training data in a way that would not be available at prediction time.

Which practice can cause data leakage?

Preprocessing Goals

Cleanliness
Reduce noise, errors, and missingness.
Consistency
Make feature formats uniform.
Compatibility
Adapt data to the chosen model.
Stability
Improve training and prediction behavior.