Learn how to use gradient boosting with the XGBoost library in Python through a hands-on walkthrough using the Titanic dataset. This video covers the entire process from importing packages and preparing data to training, tuning, and evaluating an XGBoost model. You will also see how to identify important features and make predictions for new data.
Follow along step by step, even if you are new to machine learning. You will gain practical skills in data preprocessing, model building, parameter tuning, and using pipelines for efficient workflows. By the end, you will be ready to apply XGBoost to your own data projects.
00:00 Introduction to XGBoost and Gradient Boosting
00:22 Importing Packages and Setup
00:44 Understanding the Titanic Dataset
01:12 Exploring Survival Data
01:23 Selecting Features for Prediction
01:58 Handling Missing Data
02:21 Encoding Categorical Variables
02:34 Choosing Model Features and Target
02:56 Splitting Data for Training and Testing
03:14 Training the XGBoost Model
03:52 Making Predictions with the Model
04:07 Evaluating Model Accuracy
04:30 Adjusting XGBoost Parameters
05:02 Tuning and Testing Model Performance
05:25 Experimenting with Model Settings
05:58 Visualizing Feature Importance
07:40 Predicting for a Single Passenger
08:50 Checking for Missing Data in Test Set
09:06 Using Pipelines for Modeling
09:41 Comparing Feature Sets and Model Accuracy
10:14 Recap and Key Learnings
10:44 Next Steps and Further Practice
#MachineLearning #Python #XGBoost