>> 2) how would I go about grid search over different vectorizers (e.g.
>> CountVectorizer(analyzer="word"), CountVectorizer(analyzer="char_wb"), and a
>> FeatureUnion of the two)?
>
You could always use a FeatureUnion and give it different TransformerLists
via the GridSearchCV (at least I think this should work).
The the set of possible parameters becomes tree-structured, though,
and we don't support this (yet?).
You can give GridSearchCV not only a grid but also a list of grids.
I would go with that.
(is that sufficiently documented?)

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to