Predictions and Evaluation
Understand how to preprocess test data consistently with training data, generate predictions using logistic regression on the Titanic dataset, and evaluate model performance by comparing test and training scores to identify areas for improvement.
We'll cover the following...
We'll cover the following...
Our model is trained on the given train subset (X_train_s, y_train).
Test data
Let’s get the predictions for the test data. Since ...