Damn, hmm. This just seems so so heavy to calculate reconstruction_err,
which isn't even used inside the algorithm. I don't even use it in the
pipeline. My current best idea is just to subclass ProjectedGradientNMF()
and overload fit_transform(), not computing reconstruction_err at all....


On Thu, Aug 29, 2013 at 9:24 AM, Lars Buitinck <l.j.buiti...@uva.nl> wrote:

> 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
>



-- 


*Will Buckner*
Machine Learning & Data Architect
wbuck...@beatsmusic.com
*
*
*Beats Music*
------------------------------------------------------------------------------
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