Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Machine Learning with Python

You're reading from  Machine Learning with Python

Product type Book
Published in Mar 2024
Publisher Packt
ISBN-13 9781835461969
Pages 146 pages
Edition 1st Edition
Languages
Author (1):
Oliver Theobald Oliver Theobald
Profile icon Oliver Theobald

Table of Contents (18) Chapters

FOREWORD
DATASETS USED IN THIS BOOK
INTRODUCTION
DEVELOPMENT ENVIRONMENT
MACHINE LEARNING LIBRARIES
EXPLORATORY DATA ANALYSIS
DATA SCRUBBING
PRE-MODEL ALGORITHMS
SPLIT VALIDATION
MODEL DESIGN
LINEAR REGRESSION
LOGISTIC REGRESSION
SUPPORT VECTOR MACHINES
k-NEAREST NEIGHBORS
TREE-BASED METHODS
NEXT STEPS
APPENDIX 1: INTRODUCTION TO PYTHON
APPENDIX 2: PRINT COLUMNS

SUPPORT VECTOR MACHINES

 

In this chapter, we discuss a relatively new regression analysis technique called support vector machines, or SVM for short. SVM is considered one of the best classifiers in supervised learning for analyzing complex data and downplaying the influence of outliers.

Developed within the computer science community in the 1990s, SVM was initially designed for predicting numeric and categorical outcomes as a double-barrel prediction technique. Today, SVM is mostly used as a classification technique for predicting categorical outcomes—similar to logistic regression.

 

A diagram of a line graph  Description automatically generated

Figure 27: Logistic regression versus SVM

 

In binary prediction scenarios, SVM mirrors logistic regression as it attempts to separate classes based on the mathematical relationship between variables. Unlike logistic regression, however, SVM attempts to separate data classes from a position of maximum distance between itself and the partitioned data points. Its key feature...

lock icon The rest of the chapter is locked
You have been reading a chapter from
Machine Learning with Python
Published in: Mar 2024 Publisher: Packt ISBN-13: 9781835461969
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}