Thoughts on data science, statistics and machine learning.

How Not to Ask Questions After a Talk

Dedicated to the memory of Mrutyunjay Mishra (M2). He was a torrent of ideas. He encouraged me to write this post because as much as he talked endlessly without pausing to breathe, he hated wasteful discourse.

New Delhi, January 2024


Bad questions

PyCon India 2017 ended last weekend in Delhi. The conference escaped the infamous winter smog-storm by a whisker. In the last few years, PyCon India has grown to become the largest PyCon outside of North America, with over a thousand participants attending from all over the country. The conference itself was driven by a team of about 50 volunteers.

Read more...

Book Review: The View from the Cheap Seats - Neil Gaiman

I can’t think of a single fantasy character that would be Neil Gaiman. I’m tempted to think that he’s like Santa Claus, but he’s not the sort who’d care if someone was being naughty. He’s not Dumbledore or Gandalf either - he’d rather be your friend than your mentor. He’s not even the Dream of the Endless, since he’s not aware of how powerful he is.

Reading Gaiman’s nonfiction is like meditation that clears and even expands your mind. It’s like a cool refreshing drink after a long day of rigour (I read The View From the Cheap Seats after the underwheling chore of reading Joseph Conrad’s Heart of Darkness). This book is satisfying and disquieting at the same time. You will discover a lot more to read, and at the same time, reading Gaiman has a normalizing effect on whatever you have read. I think Gaiman has unwittingly achieved a standardization of literature that ought to be widely adopted. The book is scattered with dreamy encounters with giants like Stephen King and Terry Pratchett (among many more), punctuated with brutal shocks that he felt about the Syrain refugee crisis or Charlie Hedbo, grounded by his account of the bauble of the Oscars. What he doesn’t deal in is mediocrity and trivia.

Read more...

Playing With the Konmari Method

I heard about the bestseller The Life-Changing Magic of Tidying Up at a SciPy talk about deculttering your data science project. The speakers admitted they hadn’t read it - they were simply trying to point out that tidying up your space and tidying up your software project are both similar.

I’ve been married and living with my wife for about a year now. After we moved into “our own home” last year, we have both undergone major role reversals when it comes to tidying up. I was never accustomed to spaces larger than a single bedroom, so I never cared enough to sort or declutter my space as long as my desk and bed were clean. As for my wife, she never owned too much stuff (between the two of us, I’m the hoarder) and therefore never had to make a chore out of tidying up. Now that I live in a fairly spacious apartment, even a little clutter looks very conspicuous to me. My wife generally agrees with me about tidying up, but she’s not anal about it. I have been having arguments about the clutter in my house with her for a long time now. Since both of us jokingly say that I’m the wife in this relationship (by the way, I would be proud to be one), tidying up and decluttering is often left up to me. I lost no time in buying Marie Kondo’s book and diving right in.

Read more...

On the Linearity of Bayesian Classifiers

In his book, Neural Networks - A Comprehensive Foundation, Simon Haykin has an entire section (3.10) dedicated to how perceptrons and Bayesian classifiers are closely related when operating in a Gaussian environment. However, it is not until the end of the section that Haykin mentions that the relation is only limited to linearity. What is interesting about this is that a Perceptron can produce the same classification “model” as a Bayesian classifier, provided that the underlying data is drawn from a Gaussian distribution. This post is an experimental verification of that.

Read more...

Page 7 of 9