Ask Your Question

Where can I find use examples of SimpleCV's SVM classifier?

asked 2013-04-25 13:16:11 -0500

blz gravatar image

updated 2013-04-25 14:06:40 -0500

I haven't been able to find any examples in the docs, and I'm a bit confused as to how I should structure my data.

Kathrine Scott gave a recent talk at pycon that culminated with her demonstrating SVM classification of different liquor types. Would it be possible to view the ipython notebook she used? I also seem to recall that her training was done before the conference -- would it be possible to check out those scripts as well?

My main issue is that it's not clear how to use featureExtractors. What arguments do they take? How can I implement my own?

There was a question similar to this posted a while back, but examples that were provided in the answer relied on scikit-learn.


edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2013-04-25 15:51:59 -0500

xamox gravatar image

There are a few examples available. I believe Kat used orange ML library during pycon. You can find the notebook, code, examples, here:

I also wrote an example which can be found in the example folder, under machine learning that uses scikits learn:

The example I wrote won't automatically download anymore because github got rid of file hosting so I need to update the example to work. As you can see in that example I use area, height, and width as the classification patterns. You basically want the data to be separable which means if you wanted to classify yellow peppers vs. bananas for example you probably wouldn't use color as they are both similar in color, but if you were classifying say apples vs. bananas then you would probably want to use color as well.

edit flag offensive delete link more

answered 2013-04-25 15:00:33 -0500

blz gravatar image


Your answer is appreciated, but my issue is specifically with featureExtractors. I'm not quite sure how to create my own (or if I'm even supposed to).

edit flag offensive delete link more

answered 2013-04-25 14:20:37 -0500

CodeTab gravatar image

updated 2013-04-25 15:03:02 -0500

Parts of the current documentation pages are broken, but I found the SVMClassifier in the old documentation. This may help you

Edit: The PyCon presentation material (including repository and video) is available at I think the specific examples by Katherine are in this file:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-04-25 13:16:11 -0500

Seen: 1,952 times

Last updated: Apr 25 '13