Parameters: |
- estimator – scikit-learn classifier object.
- dtype – data type used when building feature array.
scikit-learn estimators work exclusively on numeric data. The
default value should be fine for almost all situations.
- sparse (boolean.) – Whether to use sparse matrices internally.
The estimator must support these; not all scikit-learn classifiers
do (see their respective documentation and look for “sparse
matrix”). The default value is True, since most NLP problems
involve sparse feature sets. Setting this to False may take a
great amount of memory.
|