One of my friends, Jean-Nicolas Viens (JNI) found this tweaked version of the singleton pattern. It make possible to inject mocks, so unit tests are still possible!
Ok this post will be really short (…Not!). I present the references I know on how to use Mahout, plus I show how to use and how to extend Mahout.
In this post, I present a very cool tool for comparing multiple machine learning algorithm.
This post is a tutorial that describes what needs to be done to remotely boot up your computer. When I did it myself, I had a stubborn router that did not allow the reception of the magic packet from the internet, so I used an arduino board with an ethernet shield to act as a LAN relay.
During the winter session at Laval University, I followed a course about machine learning. One of the homeworks to do was to learn how to use scikit-learn in Python. I teamed up with Mathieu Dumoulin. In this article, I present you some code, so you will learn how this tool work.
I got a quick tip. I had to implement a visitor pattern (as in GOF’s book, “Design Patterns”, go read it). After it was done, I suddenly realized that this class had created an enormous cycle of dependencies in my program. It is a problem inherent to the pattern when implemented in C++, C#, Java and in any other static languages.
This small post is about the SOLID principles. They have been described in the books of Uncle Bob and in his blog, which I invite you to follow cleancoders.com. But as I know them, I wanted to put them in my blog.
I’ve recently started a big data project with Mathieu Dumoulin. We are using Mahout with Hadoop to do some machine learning with some Map Reduce in order to deal with big data the right way. We’ve found the way to test our Map Reduce code, so that’s what I present in this post.
In this post I present a paper that I wrote with Mathieu Dumoulin. We presents a fully scalable approach to improve classification by adding confidently labelable examples from a big dataset of unlabeled examples to a small original training set.
While doing a code reviews in a class of studients at Laval University, I heard that some people think that design quality is a very subjective matter. As long as they were using design patterns, the code they developped was clean. In this post, I will explain that everyone should be careful when using design patterns. While there are a lot a reasons to use them (and we should!), some patterns have drawbacks and flaws that should be considered.