Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
# nma.simple A simple tool for feature extraction from matrices with only positive or zero elements. The algorithm in this module was written closely following "Algorithms for Non-negative Matrix Factorization" By Daniel D. Lee and H. Sebastian Seung, 2001 Use of nma.simple requires incanter (http://incanter.org) ## Usage (use 'nma.simple) (def giganticus (for [ i (range 400) ] (for [ j (range 500) ] (+ 3 (* (Math/sin (/ (* 2 Math/PI) i)) (Math/cos (/ (* 2 Math/PI) j))))))) (non-negative-factor-approx giganticus 10) ;; OR (require 'nma.demo) (nma.demo/image-demo "test/mona-lisa-bw.png" "test/mona-lisa-factored.png" 20) ## License Copyright (C) 2012 Joe Bowers Distributed under the Eclipse Public License, the same as Clojure.