Support Vector Machine (Part 2) OUTLINE Multi-class classification - - PowerPoint PPT Presentation

support vector machine part 2 outline
SMART_READER_LITE
LIVE PREVIEW

Support Vector Machine (Part 2) OUTLINE Multi-class classification - - PowerPoint PPT Presentation

Support Vector Machine (Part 2) OUTLINE Multi-class classification Nonlinear mapping Kernel The Solution of Quiz-2 The maximum margin weight vector will be parallel to the shortest line connecting points of the two classes, that


slide-1
SLIDE 1

Support Vector Machine (Part 2)

slide-2
SLIDE 2

OUTLINE

  • Multi-class classification
  • Nonlinear mapping
  • Kernel
slide-3
SLIDE 3

The Solution of Quiz-2

  • The maximum margin weight vector will be parallel to the shortest line connecting points of the

two classes, that is, the line between (1,1) and (2,3), giving a weight vector of (1,2)

  • Working algebraically, with the standard constraint that:

Minimize ||w|| subject to 

  • For some a;

a+2a + b = -1 2a + 6a + b = 1 a= 2/5, b=- 11/5, so the optimal hyperplane is given by w = (2/5 , 4/5) and b = -11/5. The large margin M is 2/ ||w||  2/

4 25 + 16 25 = 5

slide-4
SLIDE 4

Multi-class Classification

slide-5
SLIDE 5

Multi-class Classification

slide-6
SLIDE 6

Multi-class Classification

Source code example: http://scikit-learn.org/stable/modules/multiclass.html

slide-7
SLIDE 7

Source: [http://www.cs.stevens.edu/~mordohai/classes/cs559_s10/Week10.pdf]

slide-8
SLIDE 8
slide-9
SLIDE 9

Source: [http://www.cs.stevens.edu/~mordohai/classes/cs559_s10/Week10.pdf]

slide-10
SLIDE 10

Source: [http://www.cs.stevens.edu/~mordohai/classes/cs559_s10/Week10.pdf]

slide-11
SLIDE 11

Source: [http://www.cs.stevens.edu/~mordohai/classes/cs559_s10/Week10.pdf]

slide-12
SLIDE 12

Source: [http://www.cs.stevens.edu/~mordohai/classes/cs559_s10/Week10.pdf]

slide-13
SLIDE 13

Source: [http://www.cs.stevens.edu/~mordohai/classes/cs559_s10/Week10.pdf]

slide-14
SLIDE 14

Source: [http://www.cs.stevens.edu/~mordohai/classes/cs559_s10/Week10.pdf]

slide-15
SLIDE 15

Source: [http://www.cs.stevens.edu/~mordohai/classes/cs559_s10/Week10.pdf]

slide-16
SLIDE 16
slide-17
SLIDE 17

Source: [http://sli.ics.uci.edu/Classes/2016W-178?action=download&upname=07_svm.pdf]

slide-18
SLIDE 18
slide-19
SLIDE 19
slide-20
SLIDE 20
slide-21
SLIDE 21

Source: [https://class.coursera.org/ml-005/lecture/74]

slide-22
SLIDE 22

Source: [https://class.coursera.org/ml-005/lecture/74]

slide-23
SLIDE 23

Source: [https://class.coursera.org/ml-005/lecture/74]

slide-24
SLIDE 24

Source: [https://class.coursera.org/ml-005/lecture/74]

slide-25
SLIDE 25

Source: [https://class.coursera.org/ml-005/lecture/74]

slide-26
SLIDE 26

Gaussian Kernel Example (1)

Source: [https://class.coursera.org/ml-005/lecture/74]

slide-27
SLIDE 27

Gaussian Kernel Example (2)

Source: [https://class.coursera.org/ml-005/lecture/74]

slide-28
SLIDE 28

Gaussian Kernel Example (3)

Source: [https://class.coursera.org/ml-005/lecture/74]

slide-29
SLIDE 29

Source: [https://class.coursera.org/ml-005/lecture/74]

slide-30
SLIDE 30

Source: [https://class.coursera.org/ml-005/lecture/74]

slide-31
SLIDE 31

Source: [https://class.coursera.org/ml-005/lecture/74]

slide-32
SLIDE 32

Source: [https://class.coursera.org/ml-005/lecture/74]

slide-33
SLIDE 33

Demo

  • http://scikit-learn.org/stable/modules/svm.html
  • http://scikit-learn.org/stable/auto_examples/plot_multilabel.html#example-

plot-multilabel-py

  • http://scikit-learn.org/stable/auto_examples/svm/plot_svm_nonlinear.html
  • http://scikit-learn.org/stable/auto_examples/svm/plot_svm_kernels.html
  • http://scikit-learn.org/stable/auto_examples/svm/plot_custom_kernel.html
slide-34
SLIDE 34

References

  • http://cs229.stanford.edu/notes/cs229-notes3.pdf
  • https://class.coursera.org/ml-005/lecture/74
  • http://www.cs.stevens.edu/~mordohai/classes/cs559_s10/Week10.pdf
  • http://nlp.stanford.edu/IR-book/html/htmledition/support-vector-machines-the-

linearly-separable-case-1.html

  • http://www.holehouse.org/mlclass/12_Support_Vector_Machines.html