Defining a methodology

Arnau Bagó · October 7, 2022

After preparing and exploring the data, the next step will be to build the model. The dataset has been divided into train and test in a previous step. It is crucial to define a clear methodology to select an algorithm, tune it and train the model. To keep it simple, let’s define a simple but effective methodology.

  1. Define a metric or metrics for the evaluation.
  2. Select a set of algorithms to be evaluated.
  3. Tune the hyperparameters of all algorithms using cross-validation and the training dataset.
  4. Use best hyperparameters of all algorithms to train a model using the whole training dataset.
  5. Final evaluation.

placeholder

Twitter