Data Scientist how-to

How to Build and Evaluate a Prediction Model

Good modeling is about honest evaluation.

Updated By the Career Education Institute Curriculum Team
Quick answer

Good modeling is about honest evaluation. In short: define; split; train, then complete the remaining steps below.

Step by step

  1. Define the question and success metric.

  2. Split data into training and test sets.

  3. Train a simple baseline model first.

  4. Try more complex models.

  5. Evaluate on the test set only at the end.

  6. Explain results and limitations.

Safety reminders for data scientists

  • Protect personal and sensitive data
  • Follow privacy laws and company policies
  • Check models for bias and fairness
  • Take screen breaks and use ergonomic setups

Dataset · Feature · Model · Training data · Overfitting · Regression: see the full data scientist glossary.

More data scientist how-to guides

Enroll in trainingTake fit quiz