Machine Learning Meetup Notes Ruby Zhao: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

11 March 2009

  • curprev 22:0122:01, 11 March 2009 Zlu talk contribs 842 bytes +842 New page: <pre> class ML @@weights = [0, 0, 0] def dot_product(a, b) [a, b].transpose.map { |e| e = e[0]*e[1] }.inject{|s, n| s += n} end def training_set [[[1, 0, 0], 1], [[1, 0, ...