Tadhack (http://tadhack.com/2016/) was October 14th to 16th, a global telecoms hackathon. It was supposed to have an office running in Melbourne, but that was cancelled unfortunately.
When looking at the data for this hackathon, I came across the Carrefour data (https://github.com/ging/carrefour_basket_data_challenge/blob/master/README.txt)
Carrefour is a supermarket in France, and they released shopping lists of their customers (all anonymised). I wanted to do something cool with this data.
The first thing I did was create a list of all the products that were in these lists. So I wrote a script to look through every item, and save it to a set, then save that set to a file. This will be the master product list, and will make it easier to store the rest of the data. Rather than storing names, I can just store the index number of that product.
Then I looped through all these lists, and convert them from their product names, to the indexes. Now comes the tricky bit.
I looped through each product from the master product list. Then I looked through all our shopping lists, to see if they contained that product. Then I look at all the other products in that list, and keep a track of what ones we have, and how many of each there are.
From this, I can calculate if you buy an item, the most likely items you would also buy.
I put all this in an app, that lets you create shopping lists, that you can share with anyone. So you and your partner can maintain a shopping list of items that you need to pick up at the end of the day.
Using this data, I can help make suggestions of what products to buy. And once you added a product, I can show you a list of product that you are also likely to want.
I hope to have this on the app store in the next few days.