Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Supervised Machine Learning with Python

You're reading from   Supervised Machine Learning with Python Develop rich Python coding practices while exploring supervised machine learning

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781838825669
Length 162 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Taylor Smith Taylor Smith
Author Profile Icon Taylor Smith
Taylor Smith
Arrow right icon
View More author details
Toc

Working with Non-Parametric Models

In the last chapter, we introduced parametric models and explored how to implement linear and logistic regression. In this chapter, we will cover the non-parametric model family. We will start by covering the bias-variance trade-off, and explaining how parametric and non-parametric models differ at a fundamental level. Later, we'll get into decision trees and clustering methods. Finally, we'll address some of the pros and cons of the non-parametric models.

In this chapter, we will cover the following topics:

  • The bias/variance trade-off
  • An introduction to non-parametric models and decision trees
  • Decision trees
  • Implementing a decision tree from scratch
  • Various clustering methods
  • Implementing K-Nearest Neighbors (KNNs) from scratch
  • Non-parametric models – the pros and cons
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 $19.99/month. Cancel anytime