On Mon, Jan 23, 2012 at 05:48:21PM +0100, Olivier Grisel wrote:
> I am not talking of adding a dependency on a redis client library in
> scikit-learn but just to make it possible to pass a "vocabulary"
> argument to the vectorizer that has the same behavior as python
> defaultdict but would use a redis server to host the data-structure
> instead.

Sure, that sounds reasonnable. Anything that implemented a
__getitem__/__setitem__ should be acceptable. We might have to make sure
that we don't try to do to many random access on it, or copy it, but that
seems like good practice to me.

Gael

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to