Quadratic programming
I never used QP in my practice. And I using Octave for solve HWs.
So there is builtin function for quadratic programming in Octave  qp. (example) But I still dont know what parameters I should use to solve: s.t. Looks like H is (.* is element by element product) But what is the other parameters :confused: 
Re: Quadratic programming
And where is ?
http://i1161.photobucket.com/albums/...7/b3472e2a.png 
Re: Quadratic programming

Re: Quadratic programming

Re: Quadratic programming
Quote:

Re: Quadratic programming

Re: Quadratic programming
@invis
for the 100 points problem 400 iterations may be too little (i used 2000 iterations in my matlab code and in ~2% of the cases even that limit was exceeded but that still gives a decent accuracy you could use even more but don't go too far or you will never get results) also for the upper bound I used 10^5 and 10^10 without any significant change in results, 10^22 seems a bit much considering you are probably using single precision numbers:) 
Re: Quadratic programming
400 iterations I use only to show that ~40% of problems QP cant solve even with 10 dots. So how can I compare results with PLA ?
Jakvas you are using matlab, so maybe you can tell me am I miss something in parameters for QP ? Why almost half of problems without solution ? 
Re: Quadratic programming
try a smaller upper bound and maybe plot some of the results you do get to see if there is no serious error somewhere.

All times are GMT 7. The time now is 07:39 PM. 
Powered by vBulletin® Version 3.8.3
Copyright ©2000  2019, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. AbuMostafa, Malik MagdonIsmail, and HsuanTien Lin, and participants in the Learning From Data MOOC by Yaser S. AbuMostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.