hi,

the gram computation is correct.

what I propose is to change :

            regularization = max(n_features / 10, 1)

by

            regularization = max(n_components / 10, 1)

or

            regularization = min(max(n_features / 10, 1), n_components)

wdyt?

Best,
Alex

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to