Machine learning with football · Chapter 12 · AutoML

Getting started

The same workflow as custom training, with the search handed over: import, check, configure, run, evaluate.

Estimated time: 15 minutes · page 3 of 4

The workflow

AutoML follows the same steps as building a model by hand. It just takes some of them off your plate. Tools come as no-code web apps or as APIs and command-line tools for more control. This page follows a no-code tool.

  1. Define the problem: make sure the tool supports it. Most handle classification and regression on tables.
  2. Gather the data into one source the tool can read.
  3. Prepare it: every example needs a label, messy data needs cleaning, and transforms the tool can't do are yours to do.
  4. Import and check: the tool guesses a type for every column. Guesses are wrong surprisingly often. The board shows the guesses for this site's match data. Fix the wrong ones, such as a club ID read as a number.
  5. Configure the run: the problem type, the label, the features, which algorithms to consider and the metric that decides the winner.
  6. Run and evaluate: training can take hours. Afterwards read the leaderboard, the winner's settings and its feature importance.
  7. Retrain when new data arrives, often after improving the data the last run exposed.

On the board, fix the column types, pick a label and run. Under the leaderboard, feature importance shows how much the validation loss rises when each of the winner's features is dropped. A negative number means the model does better without that feature, which is the search's way of saying it picked a feature that adds nothing.

Check yourself

The tool imports home_team_id as a number. What do you do?
What do you still have to do before importing data into a no-code AutoML tool?

Leagues