Monads and Monoids

In the context of functional programming what are Monads Monoids and functors and why are they the basic building blocks of functional design. There is also some example code that was written in a Scala worksheet so you can cut and paste and play with it. Read More…

Currying in Scala

What is Currying and why is it useful in functional programming. To find out please read on.
Read More…

K-Means Clustering

How do you look at Customer segmentation? Say you have a lot of customers who are high spending customers and a lot of customers who are low spending customers buying your products. Now you want to offer a loyalty discount only to the low spending customers to get them to buy more of your product. What is the centre point of the high spenders and the centre point of the low spenders. If you took a straight average or mean you would be ignoring both customer bases.
Read More…

Naive Bayes Classification

Do you need to take an umbrella with you to work today? Can you predict if it will rain or not just by looking at historical data and weather observations to predict if it will rain ?
This is the idea behind a Naive Bayes classification, to be able to predict the class, will it rain or not, given the past observations, historical weather data taken at the times when where it has and has not rained.

Read More…

By clicking Dismiss you accept that you may get a cookie that is used to improve your user experience and for analytics.
All data is anonymised. Our privacy page is here =>
Privacy Policy
This message is required under GDPR (General Data Protection Rules ) and the ICO (Information Commissioners Office).