time is like orange juice!

According to my orange juice theory, a day is like an orange and the amount of time that you have in a day to do your tasks is like orange juice. With the right tools, techniques and determination, you can always squeeze a little bit more (juice) out of your day.   image credit: http://www.orangejuicer-review.com/wp-content/uploads/2015/10/orangesqueezerbestreview.jpg  

python functions and callables

Python is a good, strong Object Oriented Programming language and it was never designed to be a functional programming language. You can read a bit about the history here. Having said that, Python does have certain useful functional programming features which we discuss below. Function as first class citizens All functions in python are in… Continue reading python functions and callables

tips on writing beautiful code in python – part 1

I've been programming in Python for over 7 years now and I must say its the most beautiful language I have ever worked with. They say "beauty lies in the eyes of the beholder", but when it comes to Python, the language itself is designed to look beautiful. Ok, maybe I am a bit biased… Continue reading tips on writing beautiful code in python – part 1

playing with IRIS data – KMeans clustering in python

I was revising my statistics and data analytics notes from my dog eared handwritten notebooks and thought it would be a good idea to transfer the notes online. What better place than the blog. Here is a quick and simple example of the KMeans Clustering algorithm. And to demonstrate the algo, I am using the infamous… Continue reading playing with IRIS data – KMeans clustering in python