Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Machine Learning for Data Mining

You're reading from  Machine Learning for Data Mining

Product type Book
Published in Apr 2019
Publisher Packt
ISBN-13 9781838828974
Pages 252 pages
Edition 1st Edition
Languages
Author (1):
Jesus Salcedo Jesus Salcedo
Profile icon Jesus Salcedo
Toc

Boosting and bagging

The idea behind boosting is that by building successive models that are built to predict the misclassifications of earlier models you're performing a form of error modeling. Bagging, on the other hand, is sampling with replacement. With this method, new training datasets are generated which are of the same size as the original dataset. For our example in this section, will be using a bootstrap sample.

In this example, we're going to see how to do boosting and bagging, which are two methods of improving a model.

Boosting

Let's see how to do boosting with the following steps:

  1. Get your data on a canvas and partition it.
  2. Create a Neural Net model for the data.
  3. Run the Neural Net model with...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime