How recommend deals on-line for coupon systems ? My Ranking model approach for this task!

Saturday, January 26, 2013

Hi all,

In this post, I will share with you some of my scientific contributions at the startup Favoritoz, a previous business that I was involved as Co-Founder and Scientist Chief. The main contribution was an algorithm to rank on-line deals in coupon systems. This algorithm was implemented and worked for ten months when the startup was running on-line.   I believe that all this implementation could serve as baseline for anyone who is looking after some work related to this field and also a main contribution to the recommender system community.

Favoritoz's Coupon System

Favoritoz was on-line coupon system where retailers could publish offers with special discounts or their products to segmented customers interested at their products or by a specific brand. One of the critical features was the personalization, where people could say wha they would like to receive daily at their deals wall. For instance, If l liked sushis, videogames and junk-food , the system could detect those interests and using our algorithm it would rank higher offers and deals related by those topics.

My goal was to develop this baseline for ranking deals based on their interests, but not only using the user profile, also we could use particular aspects from the on-line deals such as: the initial date of the deal, the popularity of the deal or the number of coupons left for that deal. All those aspects could be measured in order to compute a overall score that would be used to rank those recommendable items.

Ranking Model

Recommender systems aim to present desirable items for a person to choose from. This task is accomplished by sorting some itens in ther order of utility or interest for the person. Generaly those items are organized in some form of list, such as, in our scenario, the various deals organized as wallboard on Favoritoz. But the question is how to order those deals in a way that users could interest at or even convert into transactions ?  That's my work! I came with a simple ranking algorithm that could use various type of information available in order to come with a useful ranking system that could recommend the best deals for each of our customers at Favoritoz.

By looking to specific features in our domain (coupons market) we could use them to build a ranking function that could give some personalized recommendations. For instance, we look for "hot" deals, which is represented by most bought deals (popularity) . But it can lead to deals that are common to everyone and it's the opposite of personalization. So let's use another information like the publishing date and expiration date of the deal which could give us the newest deals and the deals that are almost close to end. Furthermore, let's look into the number of coupons available, in this case, a deal that are almost with no coupons left, could atract more users to purchase the last ones.  Another important feature is the user taste. In Favoritoz people could follow retailers (their favorites) and categories (sports, cuisine, automobile, etc.)  We use also this information in the ranking equation. In the end,  in order to produce rankings that balance all of these aspects we came wih a prediction model using all those features.

I liked the NetFlix approach on his recommendation problem at their company, where they came up with a simple scoring approach by choosing the ranking function to be a linear combination of several features. We also came with this approach but using different features exclusive at our domain.

It's like this equation:

frank(u,d) =    w1 * SD  + w2 * ED + w3*P + w4*CA + w5*UP + w6*DV + b
SD = Publishing Date of the deal d,
ED = Expiration Date of the deal d,
P =    Deal Popularity
CA =  Coupons Available of the deal d,
UP =   User Profile (user tastes)
DV =   Diversity (based on stores)

It's simple and of course there are many improvements that could be made. But it was our baseline and at our tests in production was very satisfactory. In 4 months running we achieved an increase of almot 300% in click-through-rates per user thant without any ranking methods. Of course several external factors could influence this result, but showed us promising results at our first attempt.   I implemented all the code with Python and a fork of my current framework Crab, a python framework for building recommender systems and variations.

All the algorithm explained can be accessed at this link.


As I presented, this ranking algorithm was my first attempt to solve this problem identified at our on-line website. Since the startup didn't go on (no more coupons), I couldn't reformulate the algorithm in terms of  optimization and more brute A/B testes. With more data availability we could achieve even better results. It was a rapid experimentation and I believe this work could be useful for someone that is working in this research field. I also invite anyone to qualify my recommendation approach to improve it or pointing out some flaws. (-- under approval --  This article is indexed at

Feel free to analyze it and if you want to reference this article or extend this work, let me know. Favoritoz was a great research lab for me!

That's all,


Marcel Caraciolo


  1. Pretty good post. I just stumbled upon your site and wanted to say that I have really enjoyed
    reading your site. Any way I'll be subscribing to your feed and I hope you post again soon.
    flights to Umrah
    cheap flight to jeddah
    flights to jeddah
    umrah jeddah flights
    umrah flights from London
    cheap flights to umrah

  2. This is really interesting! I wonder how you would create an algorithm for something like group buying sites.

  3. such a great article, very informative. thanks for posting this.

  4. This comment has been removed by the author.

  5. Such a great blog post.The questions running in my mind are answered.

    online deals

  6. What a blog post.Its really great post.Thanks for sharing the information with us.
    Daily online Deals

  7. Very good article.Really looking forward to read more. Much obliged.
    great deals online

  8. Nice check out

  9. Nice blog! All day coupon also offered Online promo codes and discount coupon codes and also you can get promo codes, discount vouchers, offers & deals for online shopping in India.

  10. This comment has been removed by the author.

  11. Very nice blog..! This is very useful and informative. Thanks for sharing. It is really great post. Check deals Here

  12. Amazing Blog. Solodeal is also offering Discount Coupons, online deals, online offers, hot deals etc..

  13. I must say this post quite have described the information and your study quite impressively......i personally liked it a lot.......Thank you for sharing it
    Online Discount Coupons in Lucknow

  14. very intresting and useful blog about online coupons

  15. you can refer website too get the cheap and sasta offers

  16. Embedded system training: Wiztech Automation Provides Excellent training in embedded system training in Chennai - IEEE Projects - Mechanical projects in Chennai. Wiztech provide 100% practical training, Individual focus, Free Accommodation, Placement for top companies. The study also includes standard microcontrollers such as Intel 8051, PIC, AVR, ARM, ARMCotex, Arduino, etc.

    Embedded system training in chennai
    Embedded Course training in chennai
    Matlab training in chennai
    Android training in chennai
    LabVIEW training in chennai
    Robotics training in chennai
    Oracle training in chennai
    Final year projects in chennai
    Mechanical projects in chennai
    ece projects in chennai

  17. WIZTECH Automation, Anna Nagar, Chennai, has earned reputation offering the best automation training in Chennai in the field of industrial automation. Flexible timings, hands-on-experience, 100% practical. The candidates are given enhanced job oriented practical training in all major brands of PLCs (AB, Keyence, ABB, GE-FANUC, OMRON, DELTA, SIEMENS, MITSUBISHI, SCHNEIDER, and MESSUNG)

    PLC training in chennai
    Automation training in chennai
    Best plc training in chennai
    PLC SCADA training in chennai
    Process automation training in chennai
    Final year eee projects in chennai
    VLSI training in chennai

  18. I love this blog!! The flash up the top is awesome!! affiliates

  19. Wiztech Automation is the Leading Best quality PLC, Scada, DCS, Embedded, VLSI, PLC Automation Training Centre in Chennai. Wiztech’s Industrial PLC Training and the R & D Lab are fully equipped to provide through conceptual and practical knowledge aspects with hands on experience to its students.

    PLC training in Chennai
    PLC training institute in Chennai
    PLC training centre in Chennai
    PLC, SCADA training in Chennai
    Automation training in Chennai
    DCS training in Chennai

  20. Great job for publishing such a beneficial article. Your blog information isn’t only useful but it is additionally creative with high content too. Now a days everyone looks for deal of the day products in online shopping .


  21. Thanks for providing very helpful information and I also appreciate you and your group member.Thank you again nice information on this blog regarding Online Recharge Cashback Offers

  22. Hello,
    Thanks for the info about deals and BlackFridayDealAlert is a platform offering coupons and deals on variety of products and services to people who are smart about their money.
    black Friday deals

  23. Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work.

  24. Nice article and just have a look Drillthedeal

  25. Wanted to take this opportunity to let you know that I read your blog posts on a regular basis. Your writing style is impressive, keep it up! replica watches india

  26. You always provide quality based posts, enjoy reading your work. replica watches india

  27. It’s amazing in support of me to truly have a web site that is valuable meant for my knowledge. Wix blog

  28. PLC training DIAC has courses after betch diploma graduates in PLC SCADA Automation Training in Delhi Noida for Career in Automation. Call us @91-9310096831.

  29. All of your posts are well written. Thank you. post free ads

  30. Thanks for sharing the post. check out now the no.1 website Free Samples India

  31. Thank you for sharing excellent information. Your website is very cool. Fully useful your blog post... The Gujju's Fashion Offers

  32. Hadoop concepts, Applying modelling through R programming using Machine learning algorithms and illustrate impeccable Data Visualization by leveraging on 'R' capabilities.With companies across industries striving to bring their research and analysis (R&A) departments up to speed, the demand for qualified data scientists is rising.
    data science training in bangalore

  33. Gaining Python certifications will validate your skills and advance your career.
    python certification

  34. Your post made productive reading, thank you. Good work! Replica Watches India

  35. Hi Hello i have read your post i m very happy to your work and you shareing knowledgeable post thank you sharinging post Replica Watches In India | First Copy Watches In Mumbai | Fake Watches In India | Duplica Copy Watches In India

  36. hi
    Awesome I really like your post Great valuable information.
    Replica Watches In India | fake Watches in India | Copy watches india | First Copy Watches India
    Navin Kumar

  37. Hi Hello How are you i read your article very nice please post you Experence thank you First Copy Watches In Mumbai | First Copy Watches In Delhi India

  38. This is nice knowledge, which is provided by you. Grammarly is really useful for article Replica Watches In India | First Copy Watches In Mumbai


  39. Great Article. This Blog Contain Good information about ERP Software. Thanks For sharing this blog. Can you please do more articles like this blog.

    machine maintenance software price in us
    machine maintenance software development in us
    crm software development cost in us
    erp in chennai
    crm software development cost in chennai
    cloud erp in chennai

  40. Best online deals india ,coupons,free courses,free classes,video classes every about online study, hotel coupon, flight coupons, food offers, please visit Best Shopping Online Deals


  41. hey if u looking best Current affair in hindi but before that what is current affair ? any thing that is coming about in earth political events. things that act on the meeting, if need this visit our website and get best Current affair in hindi

  42. Amazing and Interesting things to read and learn. Its amazing to find something interesting and cool stuff. Enjoy shayari and motivation shayari and share them.

  43. Incredible points. Sound arguments. Keep up the great work. Read more about artificial intelligence training in chennai from our website.

  44. We provide a detailed update regarding cricket matches on a daily basis. We ofr you the best India fantasy information and cricket news and player. So that you Get Best today match prediction and increase your chances of a win. Who will win today match

  45. top leading fantasy apps in India, so put fanfightyour cricket skills in making a good team combination, and win real cash, playing at a trusted fantasy platform gives you more comfort.

  46. Thank you for sharing such an amazing article. Recently when i was searching for offers and deals website, i found Tracedeals. At Tracedeals we can get fashion accessories, electronics, hotel bookings and clothing at best prices with  Amazon Offers
    Makemytrip Offers and Coupons
    Redbus offers and Coupons
    Abhibus offers and Coupons
    Bigbasket offers and Coupons
    Freecharge offers and Coupons
    Zivame offers and Coupons
    Croma offers and Coupons
    Oneplus Mobile Phones Offers

  47. This professional hacker is absolutely reliable and I strongly recommend him for any type of hack you require. I know this because I have hired him severally for various hacks and he has never disappointed me nor any of my friends who have hired him too, he can help you with any of the following hacks:

    -Phone hacks (remotely)
    -Credit repair
    -Bitcoin recovery (any cryptocurrency)
    -Make money from home (USA only)
    -Social media hacks
    -Website hacks
    -Erase criminal records (USA & Canada only)
    -Grade change
    -funds recovery

    Email: onlineghosthacker247@ gmail .com