support vector machines and their applications
play

Support Vector Machines and their Applications Purushottam Kar - PowerPoint PPT Presentation

Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Support Vector Machines and their Applications Purushottam Kar Department of Computer Science and Engineering, Indian Institute of Technology Kanpur.


  1. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Support Vector Machines and their Applications Purushottam Kar Department of Computer Science and Engineering, Indian Institute of Technology Kanpur. Summer School on “Expert Systems And Their Applications”, Indian Institute of Information Technology Allahabad. June 14, 2009 Support Vector Machines and their Applications 1 / 24

  2. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Support Vector Machines What is being “supported” ? Support Vector Machines and their Applications 2 / 24

  3. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Support Vector Machines What is being “supported” ? How can vectors support anything ? Support Vector Machines and their Applications 2 / 24

  4. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Support Vector Machines What is being “supported” ? How can vectors support anything ? Wait !! Machines ?? - Is this a Mechanical Engineering Lecture ? Support Vector Machines and their Applications 2 / 24

  5. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications The Learning Methodology Is it possible to write an algorithm to distinguish between ... Support Vector Machines and their Applications 3 / 24

  6. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications The Learning Methodology Is it possible to write an algorithm to distinguish between ... a well-formed and an ill-formed C++ program ? Support Vector Machines and their Applications 3 / 24

  7. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications The Learning Methodology Is it possible to write an algorithm to distinguish between ... a well-formed and an ill-formed C++ program ? a palindrome and a non-palindrome ? Support Vector Machines and their Applications 3 / 24

  8. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications The Learning Methodology Is it possible to write an algorithm to distinguish between ... a well-formed and an ill-formed C++ program ? a palindrome and a non-palindrome ? a graph with and without cliques of size bigger than 1000 ? Support Vector Machines and their Applications 3 / 24

  9. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications The Learning Methodology Is it possible to write an algorithm to distinguish between ... a handwritten 4 and a handwritten 9 ? Support Vector Machines and their Applications 4 / 24

  10. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications The Learning Methodology Is it possible to write an algorithm to distinguish between ... a handwritten 4 and a handwritten 9 ? a spam and a non-spam e-mail ? Support Vector Machines and their Applications 4 / 24

  11. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications The Learning Methodology Is it possible to write an algorithm to distinguish between ... a handwritten 4 and a handwritten 9 ? a spam and a non-spam e-mail ? a positive movie review and a negative movie review ? Support Vector Machines and their Applications 4 / 24

  12. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Statistical Machine Learning “Synthesize” a program based on training data Support Vector Machines and their Applications 5 / 24

  13. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Statistical Machine Learning “Synthesize” a program based on training data Assume training data that is randomly generated from some unknown but fixed distribution and a target function Support Vector Machines and their Applications 5 / 24

  14. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Statistical Machine Learning “Synthesize” a program based on training data Assume training data that is randomly generated from some unknown but fixed distribution and a target function Give probabilistic error bounds Support Vector Machines and their Applications 5 / 24

  15. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Statistical Machine Learning “Synthesize” a program based on training data Assume training data that is randomly generated from some unknown but fixed distribution and a target function Give probabilistic error bounds In other words be probably-approximately-correct Support Vector Machines and their Applications 5 / 24

  16. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Statistical Machine Learning “Synthesize” a program based on training data Assume training data that is randomly generated from some unknown but fixed distribution and a target function Give probabilistic error bounds In other words be probably-approximately-correct The motto - Let the data decide the algorithm Support Vector Machines and their Applications 5 / 24

  17. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Expert Systems ... a computing system capable of representing and reasoning about some knowledge rich domain, such as internal medicine or geology ... Introduction to Expert Systems, Peter Jackson, Addison Wesley Publishing Company, 1986. Support Vector Machines and their Applications 6 / 24

  18. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Linear Machines Support Vector Machines and their Applications 7 / 24

  19. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Linear Machines Arguably the simplest of classifiers acting on vectoral data Support Vector Machines and their Applications 7 / 24

  20. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Linear Machines Arguably the simplest of classifiers acting on vectoral data Numerous Learning Algorithms - Perceptron, SVM Support Vector Machines and their Applications 7 / 24

  21. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Support Vector Machines Support Vector Machines and their Applications 8 / 24

  22. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Support Vector Machines A “special” hyperplane - with the maximum margin Support Vector Machines and their Applications 8 / 24

  23. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Support Vector Machines A “special” hyperplane - with the maximum margin Margin of a point measures how far is it from the hyperplane Support Vector Machines and their Applications 8 / 24

  24. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Learning the Maximum Margin Classifier minimize � � � w � 2 w , b subject to y i ( � � w · � x i � + b ) ≥ 1 , i = 1 , . . . , l . A Linearly-constrained Quadratic program Support Vector Machines and their Applications 9 / 24

  25. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Learning the Maximum Margin Classifier minimize � � � w � 2 w , b subject to y i ( � � w · � x i � + b ) ≥ 1 , i = 1 , . . . , l . A Linearly-constrained Quadratic program Solvable in polynomial time - several algorithms known Support Vector Machines and their Applications 9 / 24

  26. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Learning the Maximum Margin Classifier minimize � � � w � 2 w , b subject to y i ( � � w · � x i � + b ) ≥ 1 , i = 1 , . . . , l . A Linearly-constrained Quadratic program Solvable in polynomial time - several algorithms known Does not give us much insight into the nature of the hyperplane Support Vector Machines and their Applications 9 / 24

  27. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Non-linearly Separable Data Support Vector Machines and their Applications 10 / 24

  28. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Non-linearly Separable Data Use slack variables to allow points to lie on the “wrong” side of the hyperplane Support Vector Machines and their Applications 10 / 24

  29. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Non-linearly Separable Data Use slack variables to allow points to lie on the “wrong” side of the hyperplane Can still be solved using a QCQP Support Vector Machines and their Applications 10 / 24

  30. Introduction SVMs Generalization Bounds The Kernel Trick Implementations Applications Learning the Soft Margin Classifier l � ξ 2 minimize � � � w � 2 + C w , b i i =1 subject to y i ( � � w · � x i � + b ) ≥ 1 − ξ i , i = 1 , . . . , l . Again a Linearly-constrained Quadratic program Support Vector Machines and their Applications 11 / 24

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend