Knowing Your Clients Using Monads

  • Alejandro Serrano Mena


Remember that you have been commissioned to build a Time Machine Store. Apart from a beautiful design and an intuitive user experience, a good web store should adapt itself to the customers’ likes and needs by keeping track of clients and analyzing their behavior. With that information, better campaigns, such as discounts or targeted ads, can be developed, increasing sales. For these tasks, many data mining algorithms have been developed. In particular, in this chapter you will focus on clustering algorithms, which try to find groups of related clients. You will use a specific implementation of clustering, called K-means, using Haskell.


Internal State Type Class Mutable Variable Monoid Structure Extra Argument 

Copyright information

© Alejandro Serrano Mena 2014

Authors and Affiliations

  • Alejandro Serrano Mena
    • 1
  1. 1.MadridSpain

Personalised recommendations