Why is Matlab the best language for data mining?

While starting a new project a few days ago, I had to answer the recurrent question: What language do I choose? In research, we have the opportunity of choosing any language, free or not. This is usually not the case in industry where the language can be fixed for many reasons (price, customer choice, boss choice, same as existing system, etc.).

I basically had to choose between Java and Matlab (C++ was soon deleted from my list since I don’t like to spend time on pointers and manually free up the memory, but this is very personal). Of course a lot of others are available, but I feel more confident with these two. As most of my work was done with Matlab, I decided to start with Java. Contradictory? Not at all, I just wanted to know how easy it was to use Java for raw data mining tasks (i.e. without using JDM framework or such).

When doing data mining, a large part of the work is to manipulate data. Indeed, the part of coding the algorithm can be quite short since Matlab has a lot of toolboxes for data mining. And when manipulating data, Matlab is definitely better. It is normal since it is done to work with matrices (MATrix LABoratory). Thus, deleting a row, a column, transposing a matrix, calculating the determinant… all these can be done in one line of code. To my knowledge, this is not the case with Java, but if you know some way, feel free to comment.

For more information about using Matlab for data mining, the best place is Will’s blog. In the next post, I will write about the other side of the coin and explain some of Matlab’s drawbacks.


Recommended Reading

Comments Icon10 comments found on “Why is Matlab the best language for data mining?

  1. Matlab rules !

    Seriously, I’ve been using Matlab for data mining for 6 years now and I really appreciate its ease of use; you can really work very fast. However, Matlab is sometimes a bit slow and unable to handle large datasets.

  2. I’m happy to see other Matlab enthusiasts. Now that I use Matlab, I cannot think of another programming language for doing data mining (but I’m sure there are others…)

  3. hi i am doing a project on rough fuzzy collaborative clustering can any one help in to do this in matlab… thanks in advance

  4. hi Sandro,

    it nice to see your article. can you please help me write the code of apriori association rule mining.


    s kumar

  5. hi, i am doing research in data mining. now i learnt matlab for the post two months. but i could not understand the classregtree. can you please help me write code of creating classification tree using some datasets.

  6. Any suggestions about books or courses, webinars for data mining with matlab with practical examples?

Comments are closed.