Machine Learning (ML) · Advanced level

Advanced level · Module 6: Machine Learning Capstone · Lesson 2 of 5

Data, Baselines and Backtesting

Prepare the price data, build baselines and set up a backtesting framework.

In this lesson you will

  • Prepare multi-market price data
  • Set up backtesting with baselines

Key concepts

data preparationbaselinesbacktesting frameworkper-market reporting

The lesson

Clean and regularise the series for each market, documenting gaps and how they were handled.

Implement naive and seasonal-naive baselines and a backtesting framework that reports errors per market and horizon.

These baselines set the bar the capstone model must beat.

Step by step

  1. Prepare the series for each market.
  2. Implement the baselines.
  3. Build the backtesting framework.
  4. Report baseline errors per market.

Practice activity

Complete milestone 2: prepared data and baseline backtests.

Expected result: Reproducible baseline results per market.

Check your understanding

  1. Why establish baselines first?

    Show answer

    They define the minimum performance a model must beat to be useful.

  2. Why report per market?

    Show answer

    Performance can differ greatly between markets.

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.