LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Homework 7 (http://book.caltech.edu/bookforum/forumdisplay.php?f=136)
-   -   Some helpful (python) cvxopt guides (http://book.caltech.edu/bookforum/showthread.php?t=4023)

ezreal 02-22-2013 11:54 PM

Some helpful (python) cvxopt guides
 
I've seen some people posting helpful links around, so I thought I'd share three that I found especially useful.

DISCLAIMER: These do contain actual SVM code, though none actually contain answers specific to this course. Use at your own discretion.

http://www.mblondel.org/journal/2010...nes-in-python/
http://courses.csail.mit.edu/6.867/w.../Qp-cvxopt.pdf
https://github.com/burakbayramli/cla...svm/svm-en.pdf

Installing cvxopt on windows can be a pain, so here's a list to an installer that someone put together. Note: I am in no way endorsing this, use at your own risk, etc. etc.
http://www.lfd.uci.edu/~gohlke/pythonlibs/#cvxopt

Hope it helps!

vbipin 02-25-2013 10:30 PM

Re: Some helpful (python) cvxopt guides
 
Thanks ezreal,

But my cvxopt install did not work. I have some dll loading problem. I am using the active-state python 2.7 ( Don't have enough time to debug this )

Do you know any other alternative in python?

ezreal 02-25-2013 11:38 PM

Re: Some helpful (python) cvxopt guides
 
Assuming you're on windows, I've also used python xy. You'd have to uninstall your current python, though.
https://code.google.com/p/pythonxy/

And cvxopt is a separate download.
https://code.google.com/p/pythonxy/d...7.exe&can=2&q=

Hope it works!

galo 04-06-2016 07:02 AM

Re: Some helpful (python) cvxopt guides
 
Reviving this old thread.

I had a lot of trouble installing CVXOPT and implementing the SVM algorithm in Python, so I made a guide. I used the info from the various links posted here and applied them to the homework. Here's the link: http://www.galoreinoso.com/2016/04/0...ry-classifier/


All times are GMT -7. The time now is 07:12 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. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.