An IPython notebook on the linear perceptron

Just mirroring a post from the other blog. Here is an IPython notebook with an implementation of the linear percepton algorithm. Details will follow in another post and I give a general idea of what it does in the notebook but here is what the picture looks like. Assuming that you have a set of points and you want to find a line that separates … Continue reading An IPython notebook on the linear perceptron

Can’t invert the CDF? Perhaps interpolation is a good idea.

At last I am able to return to blogging (compliments of being able to connect to the internet with my laptop again)! Today I want to talk about a trick I learned recently, hoping that it will perhaps be useful to someone else. Let us first set up the problem. If you want to go directly to the trick, skip the introductory stuff and move … Continue reading Can’t invert the CDF? Perhaps interpolation is a good idea.