Classification

Learning Objectives

By the end of this chapter, you will be able to:

  • Describe the fundamental concepts of classification
  • Load and preprocess data for classification
  • Implement k-nearest neighbor and support vector machine classifiers

In chapter will focus on the goals of classification, and learn about k-nearest neighbors and support vector machines.

Introduction

In this chapter, we will learn about classifiers, especially the k-nearest neighbor classifier and support vector machines. We will use this classification to categorize data. Just as we did for regression, we will build a classifier based on training data, and test the performance of our classifier using testing data.

The Fundamentals of Classification

While ...

Get Artificial Intelligence and Machine Learning Fundamentals now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.