Indeed turning them in to string works. Thanks. On Fri, Jun 27, 2014 at 3:33 AM, Joel Nothman <joel.noth...@gmail.com> wrote: > Turn them into strings first is by far and away the easiest solution! > Alternatively, look up the feature names in the > dict_vectorizer.feature_names_ attribute, then follow the DictVectorizer > with a OneHotEncoder where the categorical_features parameter is set. > > HTH, > > Joel > >
------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general