A poor-man's scikit-learn compatible wrapper around VW would be to call the
command line via popen and feed it data through stdin.

If you do that, create a gist and add it to the third-party snippet list in
https://github.com/scikit-learn/scikit-learn/wiki/Useful-Snippets

Mathieu


On Fri, Aug 23, 2013 at 9:01 PM, Eustache DIEMERT <[email protected]>wrote:

>
> The kind of thing I would like to do is run vowpal-wabbit from within
>>  scikit learn.
>>
>
> I know VW has a C interface now, so it is theoretically possible to
> develop a python binding (hunch.net seems down as of now, but John
> Langford wrote about it on the blog).
>
> However, memory structures possibly don't fit properly with numpy arrays
> (which are the recommended API choice for sklearn I believe), so it could
> become a bit hard.
>
> Also I would be inclined to think it could hurt VW performance to feed him
> with a different pattern of data input as the VW folks have passed a good
> amount of effort in optimizing I/Os I believe.
>
> HTH
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to