The goal of step №4 is to train the model and then output an example prediction. This involves using the predict and train_model blocks for new actions, and get_input_data, get_output_data, and get_transformed_input_data blocks for quickly obtaining results from previous steps.