
Convex Optimization and Dual Cone Support
Explore the concepts of convex optimization and dual cone support in the context of qualification, enumeration, and finding extreme points in a linear system of inequalities. Understand how the dimension and number of extreme points affect the determination of a system. Learn about the dual cone and its relationship with convex sets.
Uploaded on | 0 Views
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
CSE 203B: Convex Optimization Discussion Week 3 Isabella Liu 1/21/2022
Content Content Qualification & Enumeration Dual Cone Support Vector Machine
Content Content Qualification & Enumeration Dual Cone Support Vector Machine
Qualification & Enumeration Qualification & Enumeration Explicit/enumeration expression: ?? 1?? = 1,? ?+ Implicit/qualification expression: ? ?? ?,? ??} ?} Example: ?1 ?2 ?3 ?4 2 1 1 1 1 1 1 0 0 ?1 ?2 1 1 1 3 1 1 1 1 1 0 1 Convert (HW1.1: find extreme points)
Qualification & Enumeration Qualification & Enumeration Explicit/enumeration expression: ?? 1?? = 1,? ?+ Implicit/qualification expression: ? ?? ?,? ??} ?} Question: ? is determined by? The dimension ? of ? ?+ The number of extreme points in ? ?? ?,? ??}
Qualification & Enumeration Qualification & Enumeration HW 1.1 how to find extreme points in a linear system of inequalities Extreme points: Let ? ??be a convex set. For a ? ?, it is an extreme point of ? if there is no distinct ?,? ? and ? (0,1) such that ? = 1 ? ? + ?? . (always be the endpoint if in a line segment inside ? )
Qualification & Enumeration Qualification & Enumeration HW 1.1 how to find extreme points in a linear system of inequalities Set ? of the ? + ? inequalities to equality (by turns) and solve the corresponding ? ? system Check whether the solution satisfies the remaining inequalities, discard if doesn t 6, so ?? 0 are also inequality conditions Note ? ?+ https://web.math.utk.edu//~freire/linprog2005.pdf
Content Content Qualification & Enumeration Dual Cone Support Vector Machine
Dual Cone Dual Cone Let ? be a cone, the set ? = ? ??? 0, ? ?} is called dual cone of ?, ? is always convex, even when the original ? is not.
Dual Cone Dual Cone ? is its own dual Example: Self-dual, the cone ?+ ??? 0, ? 0 ? 0
Dual Cone Dual Cone Example: Dual cone of a non-convex set is convex. ? = ? ?,? 0, ? ?} C* https://www.youtube.com/watch?v=CTNFqM8nRS0
Dual Cone Dual Cone HW 1.3 for any ? in the dual cone, there should be ??? 0, ? {?|?? 0,? ?6}
Content Content Qualification & Enumeration Dual Cone Support Vector Machine (SVM)
Support Vector Machine (SVM) Support Vector Machine (SVM) Given a dataset of ? points in form ?1,?1, ,(??,??) where class labels ?? are either 1 or -1. The SVM tries to find the maximum-margin hyperplane that divides the points into correct groups. 2 min||?||2 2 min||?||2 ?.?. ???? ? 1,?? ??= 1 ???? ? 1,?? ??= 1 ?.?. ???? ? ?? 1 support vectors Geometrically, the distance between hyperplane ??? ? = 1 and ??? ? = 1 is 2 ||?||, so maximize it is equivalent to minimize ||?||
Support Vector Machine (SVM) Support Vector Machine (SVM) In hard-margin SVM, the decision boundary is only affected by the support vectors Check out this live demo
Support Vector Machine (SVM) Support Vector Machine (SVM) Sometimes data are not linearly separable Soft-margin SVM: Add a loss function to penalize points on the wrong side max(0,1 ??(???? ?)) if a point is on the wrong side, the loss is proportional to its distance to the margin. Minimize:
Support Vector Machine (SVM) Support Vector Machine (SVM) Sometimes data are not linearly separable Kernel Trick The idea of mapping the data to a higher dimensional space Kernel functions is computational efficient Common kernel functions: Polynomial kernel Gaussian kernel https://medium.com/@zxr.nju/what-is-the-kernel-trick-why-is-it-important-98a98db0961d
Support Vector Machine (SVM) Support Vector Machine (SVM) Multiclass classification using SVM One-to-one: use a binary SVM for each pair of classes One-to-rest: separate a class and the rest of points One-to-one One-to-rest https://www.baeldung.com/cs/svm-multiclass-classification