2012/1/16 Mathieu Blondel <[email protected]>: > I wrote a class which takes a base estimator in its constructor. For > efficiency reasons, it is best if the estimator supports dense input. > I would like thus to issue a warning if the given estimator supports > only sparse input (as is the case of e.g. svm.sparse.LinearSVC). This > raises the question of how shall we make this information available in > the scikit. One solution would be to use class variables in all > estimators. For example:
I think this problem would be solved if we merged the sparse and dense estimators, like you've been doing with SGD. I'd very much prefer that solution. -- Lars Buitinck Scientific programmer, ILPS University of Amsterdam ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
