Re: [Scikit-learn-general] AdaBoostClassifier work with sparse matrix

2013-11-25 Thread Mathieu Blondel
Adaboost seems to always enforce dense arrays, irrespective of the base estimator: https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/ensemble/weight_boosting.py#L93 It should at least be possible to use Adaboost with sparse matrices if the base estimator supports them (which is the

Re: [Scikit-learn-general] AdaBoostClassifier work with sparse matrix

2013-11-25 Thread Olivier Grisel
2013/11/22 Yi Pan : > Dear scikit-learn persons, > > This is Pan Yi from the University of Washington, US. I am currently working > on a course project, exploring the performance of AdaBoostClassifier when > using the same base classifier, such as DecisionTreeClassifier, Perceptron, > > KNeighborsC

[Scikit-learn-general] AdaBoostClassifier work with sparse matrix

2013-11-25 Thread Yi Pan
Dear scikit-learn persons, This is Pan Yi from the University of Washington, US. I am currently working on a course project, exploring the performance of AdaBoostClassifier when using the same base classifier, such as DecisionTreeClassifier, Perceptron, KNeighborsClassifier, or mixing different c