2013/8/29 Lars Buitinck <l.j.buiti...@uva.nl>:
> W, H = csr_matrix(W), csr_matrix(H)
> reconstruction_err = euclidean_distances(X, W * H).sum()

Never mind. Even after fixing the formula, W * H is actually too dense
for this to be any good, regardless of the initialization and
sparseness parameter.

-- 
Lars Buitinck
Scientific programmer, ILPS
University of Amsterdam

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to