SlideServe
Menu
Préférences
© SlideServe · v2026

Introduction to Linear Classifiers for Binary Classification

gboer avatar
28 diapositives · 335 Views · Jan 05, 2020

Learn about linear classifiers, vector representation, separation hyperplanes, and the Perceptron algorithm for binary classification tasks. Dive deeper into the concept of using real number vectors to simplify prediction models. Discover the history of linear classifiers and their applications.

Introduction to Linear Classifiers for Binary Classification - slide 1
01 / 28Introduction to Linear Classifiers for Binary Classification
1 / 17

Télécharger la présentation

Introduction to Linear Classifiers for Binary Classification
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Linear Classifiers Based on slides by William Cohen, Andrej Karpathy, Piyush Rai

  2. Linear Classifiers • Let’s simplify life by assuming: • Every instance is a vector of real numbers, x=(x1,…,xn). (Notation: boldface x is a vector.) • First we consider only two classes, y=(+1) and y=(-1) • A linear classifier is vector w of the same dimension as x that is used to make this prediction:

  3. x2 Visually, x · w is the distance you get if you “project x onto w” w X1 . w X1 In 3d: lineplane In 4d: planehyperplane … X2 . w The line perpendicular to w divides the vectors classified as positive from the vectors classified as negative. -W

  4. w -W Wolfram MathWorld Mediaboost.com

  5. w -W Notice that the separating hyperplane goes through the origin…if we don’t want this we can preprocess our examples: or where b=w0 is called bias

  6. Question

  7. Back to Image Classification

  8. 3072 numbers in total reshaped into a column vector x

  9. Interactive Web Demo: http://vision.stanford.edu/teaching/cs231n/linear-classify-demo/

  10. ^ ^ Compute: yi = sign(wk . xi ) If mistake: wk+1 = wk + yixi yi yi Perceptron learning instancexi B A • 1957: The perceptron algorithm by Frank Rosenblatt • 1960: Perceptron Mark 1 Computer – hardware implementation • 1969: Minksky & Papert book shows perceptrons limited to linearly separable data • 1970’s: learning methods for two-layer neural networks