scikit-learn/scikit-learn — pull request #686 by larsmans (2012-03-07 23:14:46+00:00)
Title: WIP DictVectorizer

Here's a very simple class that converts dict-based feature->value mappings to `np.array` and `scipy.sparse` matrices; and back. Useful when working with symbolic features, esp. in the sparse case. It's essentially a rewrite of my NLTK/scikit-learn bridge following scikit-learn APIs.

* Not optimized
* Only one doctest that doesn't cover the whole class
* Documentation is incomplete

Please let me know if this is interesting at all. So far, this is just me scratching my own itch :)