Get startedGet started for free

Train a classification model

In this exercise, you'll continue working with the weather dataset and train a Random Forest Classifier to predict rainfall. The preprocess_dataset.py contains helper functions to pre-process the dataset, and train.py contains the training code.

Your task is to execute the pre-processing and training code one after another and generate metrics and output plots. Upon successful execution, metrics.json contents would automatically change to correct values.

NOTE: Use python3 instead of python to run Python scripts.

This exercise is part of the course

CI/CD for Machine Learning

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise