Permalink
Browse files

added some comments

  • Loading branch information...
Aria Haghighi
Aria Haghighi committed Aug 29, 2010
1 parent b9e62f7 commit 613b64dd10f04e46c6d70262ea80391687001701
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/infer/matrix_factorization.clj
@@ -91,10 +91,15 @@
(internal-factorize [this M k] (lee-seung-factorize M k opts)))
+;; --------------------------------------------------------
+;; Main Method
+;; --------------------------------------------------------
+
(defn factorize
"Approximately factorizes M into [X,Y] with some implementation. This
is where to go if you don't want to think about any details. The only
parmaeter k is which controls how big the approximation is.
k should be smaller than the maximum of the rows or column of M"
[M k]
(internal-factorize (LeeSeungFactorization. {:num-iters 100}) M k))
+

0 comments on commit 613b64d

Please sign in to comment.