11.07.2015 Views

Methods for Constrained Optimization - MIT Certificate Error

Methods for Constrained Optimization - MIT Certificate Error

Methods for Constrained Optimization - MIT Certificate Error

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 6. Comparison of run-time <strong>for</strong> methods handling equality and inequality constraints5 Application of <strong>Constrained</strong> <strong>Optimization</strong> in SupportVector Machines <strong>for</strong> Data ClassificationIn the field of artificial intelligence and machine learning, classification is a useful tool<strong>for</strong> an intelligent agent to understand human intentions. One specific application is asmart pad that can recognize handwritten alphanumeric characters after learning from atraining set. In the simplest case, there are only two different characters to distinguish.The machine learning algorithm that I use is called the support vector machine approach,first introduced by Vladimir Vapnik, and referenced in [Boser 1992].5.1 SVM Problem FormulationAssume the user draws a numeral on the smart pad to generate the training set. The smartpad, or the intelligent agent, selects a set of sample points from the user’s input and storesthem in a vector x = [ x1, y1,x2,y2,K]. For training the algorithm, the user tells the agentthe class that the vector belongs in, eg. the user’s input corresponds to the numeral “0.”We can consider a two class problem with class A and class B, eg. “0” vs. “1.”The training data consists of a set of n-dimensional vectors x1, x2,K x k, Kx p. We labeleach either +1 or –1 to associate it with a class: e.g. +1 <strong>for</strong> class A and –1 <strong>for</strong> class B.x kA training set containing p training points of vectorsxkand labels lk would look like:( x l ),( x , l ),K , ( x , l ),K,( , l )1, 1 2 2k kxpp, where⎧l⎨⎩lkk= 1= −1if xif xkk∈class A∈ class B

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!