From the course: Python for AI Projects: From Data Exploration to Impact
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Model fitting - Python Tutorial
From the course: Python for AI Projects: From Data Exploration to Impact
Model fitting
- [Instructor] We've prepped our data. Now, it's time to train our first machine learning models, using them to predict which tour product a user is most likely to purchase based on their attributes. We'll start by experimenting with a few proven ML algorithms. Logistic regression is a fast and interpretable baseline that often performs well on structured data. We'll also use random forest, a robust ensemble method that captures non-linear patterns with little tuning. And finally, we'll look at LightGBM, a gradient-boosting framework that's highly optimized for both speed and accuracy on tabular datasets. These models give us a mix of simplicity, power, and flexibility, perfect for comparing performance across different types of learners. Machine learning models are like complex machines, full of knobs and levers that control how they learn from data. These are called hyperparameters, and adjusting them can…
Contents
-
-
-
-
-
(Locked)
Data exploration4m 56s
-
(Locked)
Preparing Customer Data for Predictions for Machine Learning5m 47s
-
(Locked)
Training data pipeline6m 46s
-
(Locked)
Building Classification Pipelines in Python7m 47s
-
(Locked)
Model fitting7m 14s
-
(Locked)
Model metrics5m 39s
-
(Locked)
Training Purchase Prediction Models6m 58s
-
(Locked)
-
-