January 11, 2012
http://projecteuler.net/problem=102 I implemented the formula from this Wolfram Alpha article on “Triangle Interiors”. # euler 102 import math def dtn(a,b): # 2 by 2 determinant return a[0]*b[1] – b[0]*a[1] def points(p, p1, p2, p3): # take 4 points, check to see if p is in triangle p1p2p3 # v = v0 + av1 + bv2 [...]
Read the full article →
January 10, 2012
Got my statement of accomplishment by email for the Machine Learning online course I took in the fall from Stanford’s Professor Andrew Ng. Psyched!! Machine Learning (Online Class) – Statement of Accomplishment(function() { var scribd = document.createElement(“script”); scribd.type = “text/javascript”; scribd.async = true; scribd.src = “http://www.scribd.com/javascripts/embed_code/inject.js”; var s = document.getElementsByTagName(“script”)[0]; s.parentNode.insertBefore(scribd, s); })();
Read the full article →