Use the fit() method to run the training.