In case you are wondering how to use the awesome LIBSVM package with the awesome PyCharm IDE, here is a brief guide:

LIBSVM documentation  mention you need to

  • Download  libsvm(version 3.2 at the time of this writing)
  • Extract the zip to a folder. By default, this libsvm-3.20
  • Go to your command prompt, within the extracted directory, libsvm-3.20/, type “make”. This will create a file called If this doesn’t work, google how to enable make command on Mac OS.
  • go to libsvm-3.20/python directory, type make. This will create 2 files: and

Now, within PyCharm, say that you have a folder called Project/code/ where your code is stored at this level. Copy and mentioned above to your Project/code/ directory and Copy file to your Project/ directory.

From Project/code/ python file you can import the svm library with

from svmutil import *

That’s it. You should be all set.


I am new to D3, and struggled a bit trying to figure out how to use external data source obtained through HTTP REST call as my data source. If you don’t know what I mean by HTTP REST call, it’s basically calling a URL that would return JSON data. If you are not familiar with D3,  this tutorial by Scott Murray is a required reading. After you are done reading that, read this manual by the author of d3 himself.  In a nutshell: No, you don’t need jquery library. D3 itself is enough. HTTP calls are asynchronous in d3. If …

Read more →

Skim through the screen shot that contains yellow exclamation mark. If one of them apply to you, hopefully this blog helps. The following is the sequence of error I was getting, and how i fixed it. Make sure you only follow the part mark as Solution.


Problem: The project at <folder> is an Android ADT project. To Import this project into Android Studio, you first need to *export* it as Gradle project from ADT.

Solution: Fire up your ADT(Eclipse), import the project into ADT, and Export it to a Gradle export.

To import the file into eclipse and ex, click the following: Continue Reading →