Book description
Combine popular machine learning techniques to create ensemble models using Python
Key Features
- Implement ensemble models using algorithms such as random forests and AdaBoost
- Apply boosting, bagging, and stacking ensemble methods to improve the prediction accuracy of your model
- Explore real-world data sets and practical examples coded in scikit-learn and Keras
Book Description
Ensembling is a technique of combining two or more similar or dissimilar machine learning algorithms to create a model that delivers superior predictive power. This book will demonstrate how you can use a variety of weak algorithms to make a strong predictive model.
With its hands-on approach, you'll not only get up to speed with the basic theory but also the application of different ensemble learning techniques. Using examples and real-world datasets, you'll be able to produce better machine learning models to solve supervised learning problems such as classification and regression. In addition to this, you'll go on to leverage ensemble learning techniques such as clustering to produce unsupervised machine learning models. As you progress, the chapters will cover different machine learning algorithms that are widely used in the practical world to make predictions and classifications. You'll even get to grips with the use of Python libraries such as scikit-learn and Keras for implementing different ensemble models.
By the end of this book, you will be well-versed in ensemble learning, and have the skills you need to understand which ensemble method is required for which problem, and successfully implement them in real-world scenarios.
What you will learn
- Implement ensemble methods to generate models with high accuracy
- Overcome challenges such as bias and variance
- Explore machine learning algorithms to evaluate model performance
- Understand how to construct, evaluate, and apply ensemble models
- Analyze tweets in real time using Twitter's streaming API
- Use Keras to build an ensemble of neural networks for the MovieLens dataset
Who this book is for
This book is for data analysts, data scientists, machine learning engineers and other professionals who are looking to generate advanced models using ensemble techniques. An understanding of Python code and basic knowledge of statistics is required to make the most out of this book.
Publisher resources
Table of contents
- Title Page
- Copyright and Credits
- About Packt
- Contributors
- Preface
- Section 1: Introduction and Required Software Tools
- A Machine Learning Refresher
- Getting Started with Ensemble Learning
- Section 2: Non-Generative Methods
- Voting
- Stacking
- Section 3: Generative Methods
- Bagging
- Boosting
- Random Forests
- Section 4: Clustering
- Clustering
- Section 5: Real World Applications
- Classifying Fraudulent Transactions
- Predicting Bitcoin Prices
- Evaluating Sentiment on Twitter
- Recommending Movies with Keras
- Clustering World Happiness
- Another Book You May Enjoy
Product information
- Title: Hands-On Ensemble Learning with Python
- Author(s):
- Release date: July 2019
- Publisher(s): Packt Publishing
- ISBN: 9781789612851
You might also like
book
Adobe Photoshop Classroom in a Book (2023 Release)
Learn to create and edit images using Adobe Photoshop Adobe Photoshop Classroom in a Book (2023 …
book
Fluent Python, 2nd Edition
Don't waste time bending Python to fit patterns you've learned in other languages. Python's simplicity lets …
book
JavaScript: The Definitive Guide, 7th Edition
JavaScript is the programming language of the web and is used by more software developers today …
book
Practical Recommender Systems
Practical Recommender Systems explains how recommender systems work and shows how to create and apply them …