BaşlayınÜcretsiz başlayın

Predicting on test data

Now that you've trained the model on the train set, let's apply the model to the test data, make predictions, and evaluate the predictions. Recall that having a separate test set here simulates the gathering of a "new" independent dataset to test our model's predictive performance on.

The datasets train and test, and the trained model, train_model_2 are available in your workspace.

Bu egzersiz, kursun bir parçasıdır

Modeling with Data in the Tidyverse

Kursa Göz Atın

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

# Make predictions on test set
___
Kodu Düzenle ve Çalıştır