This is solution for coding problems in CS229 Machine Learning Course taught by Mr.Andrew Ng. You can find it here . The problem sets can be downloaded from:
My proposed objective function (and other "paper" works) are inspired a lot from this guy. Check it out!!!