Today, I will discuss about **why it is important that researchers share their source code and data**.

As some of you know, I’m working on the design of** data mining algorithms.** More specifically, I’m working on algorithms for discovering patterns in databases. It is a problem that dates back to the 1990s. Hundreds of papers have been published on this topic. However, when searching on the Web, I found that there are very few source code or even binary files available. On some specialized topics like **uncertain itemset mining**, there is for example about 20 algorithms published but about only two that provides the source code and the datasets.

This is a serious problem for research.

First, some of these algorithms are hard to implement. For some people that are not familiar with the subject or that are average programmers, it is a huge waste of time to implement the algorithms again and this could deter them from using the algorithms. Like some people say: why reinvent the wheel ?

Second, algorithm descriptions that are provided in research papers are often incomplete due to the lack of space. Some researchers will not provide optimizations details due to the lack of space. Or some researchers will intentionally not provide enough details in their paper so that other people cannot implement their algorithm properly and beat its performance.

Third, let’s say that someone develops a new algorithm and want to compare its performance with an already published algorithm. If this person cannot find the source code or binary files of the published algorithm, he has to implement it by himself. However, this version will be different from the original and depending on how it is implemented, the comparison could potentially be unfair.

Now, let’s talk about what are the **advantages of sharing your source code and data.**

First, as a researcher, if you publish your source code, it is much more likely that someone will use your algorithm or application. If someone use your algorithm/application, he willÂ cite you, and it will thus benefit to you.

Second, other researchers can save time if they don’t have to implement again the same **algorithms**. They can use this time to do more research. And therefore, this would benefit the whole research community.

Third, if you are the author of an algorithm, other people can compare with **your** version of your algorithm. By sharing your source code, you are therefore sure that the comparison will be fair.

Fourth, other people are more likely to integrate your algorithm/software in other software or to modify it to develop new algorithms/software. Again, this will benefit you because these people will cite you. And the more people will cite you, the more people will read your papers and will cite you.

Now to conclude, I will talk about the benefits that I have received from sharing my work as** open-source software **since the last few years. I’m the author of the SPMF data mining software. This software offers **52 algorithms** that I have implemented including around 7 algorithms that are my own algorithms. Since about 3 years, the website has received more than 35,000 visitors and the software has been cited in about 30 research papers and journal articles (about 15 for 2012). Some people have applied the algorithms in biology, website clickstream analysis and even chemistry. Moreover, I have also received more than 10 citations on some of my articles.

I hope that this blog post will convince you that it is important to share the source code and the data of your work with other researchers.

By the way, if you like this blog, you can subscribe to the RSS Feed or my Twitter account (https://twitter.com/philfv) to get notified about next blog posts. Also, please leave a comments below if you have some additional thoughts or story about this.

Philippe

I agree. Most of the time, i cannot get source code i want from research papers. I have contacted many authors to ask for source code and they don’t answer or don’t want to share with me.

Pingback: How to encourage data mining researchers to share their source code and datasets? - The Data Mining & Research Blog

Pingback: What happens after the PhD? - The Data Mining BlogThe Data Mining Blog

Pingback: The future of pattern mining | The Data Mining Blog