Skip to Content
Machine Learning with R, the tidyverse, and mlr
book

Machine Learning with R, the tidyverse, and mlr

by Hefin Rhys
April 2020
Intermediate to advanced
536 pages
16h 55m
English
Manning Publications
Content preview from Machine Learning with R, the tidyverse, and mlr

Chapter 6. Classifying with naive Bayes and support vector machines

This chapter covers

  • Working with the naive Bayes algorithm
  • Understanding the support vector machine algorithm
  • Tuning many hyperparameters simultaneously with a random search

The naive Bayes and support vector machine (SVM) algorithms are supervised learning algorithms for classification. Each algorithm learns in a different way. The naive Bayes algorithm uses Bayes’ rule, which you learned about in chapter 5, to estimate the probability of new data belonging to one of the classes in the dataset. The case is then assigned to the class with the highest probability. The SVM algorithm looks for a hyperplane (a surface that has one less dimension than there are predictor variables) ...

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

Advanced Machine Learning with R

Advanced Machine Learning with R

Cory Lesmeister, Dr. Sunil Kumar Chinnamgari
R Machine Learning Projects

R Machine Learning Projects

Dr. Sunil Kumar Chinnamgari

Publisher Resources

ISBN: 9781617296574Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link