Skip to Content
Grokking Machine Learning
book

Grokking Machine Learning

by Luis Serrano
December 2021
Intermediate to advanced
512 pages
15h 23m
English
Manning Publications
Content preview from Grokking Machine Learning

5 Using lines to split our points: The perceptron algorithm

In this chapter

  • what is classification
  • sentiment analysis: how to tell if a sentence is happy or sad using machine learning
  • how to draw a line that separates points of two colors
  • what is a perceptron, and how do we train it
  • coding the perceptron algorithm in Python and Turi Create

In this chapter, we learn a branch of machine learning called classification. Classification models are similar to regression models, in that their aim is to predict the labels of a dataset based on the features. The difference is that regression models aim to predict a number, whereas classification models ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Machine Learning with Scikit-Learn and PyTorch

Hands-On Machine Learning with Scikit-Learn and PyTorch

Aurélien Géron
Machine Learning with PyTorch and Scikit-Learn

Machine Learning with PyTorch and Scikit-Learn

Sebastian Raschka, Yuxi (Hayden) Liu, Vahid Mirjalili

Publisher Resources

ISBN: 9781617295911Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link