Create test data for Microsofts Recommendation API

Last month I wrote a blog post with a short introduction to Microsofts Recommendation API (Introduction to Microsofts Recommendation API). I wrote about the basics, how to start and how to work with this nice API which is part of the Microsoft Cognitive Services.
When I started to work with the recommendation API, I soon realized that the most important thing is – Data! Okay – no surprise – but how to get the data? Or how to create some test data if you just want to try it?
In my previous blog post, I mentioned that I used a tool to create my (test) recommendation data. The tool was a quick and dirty, self-hacked WCF application, but it worked and I had some data to start.

Then I decided to publish this tool, but a WCF application is not so sexy and state-of-the-art, so I decided to polish my rusty javascript knowledge. The result is by sure not a best practice web application nor has it a nice design, but it does the job! And here it is:

The website should tell you everything you need. Start with the creation of some users and articles. Then you need to select a user and click on articles. Each click on an article will add a new usage entry which you can see in the Usage are. The export buttons allow you to export the data as CSV file which can then be uploaded at the recommendation portal ( This is how it looks in excel:

Additional information

Introduction to Microsofts Recommendation API:
Quick start guide for the Cognitive Services Recommendations API:
Recommendations API reference:


No responses yet

    Leave a Reply

    Your email address will not be published. Required fields are marked *