2012/10/26 Mathieu Blondel <math...@mblondel.org>: > > I was thinking at how to use scikit-learn from Java the other day when I saw > this thread. Since it is possible to call Python functions from C and embed > a Python interpreter in C, it should be possible to access a pointer to a > Java array's contents via JNI, create a numpy array from it via > PyArray_SimpleNewFromData and pass it to a python function.
This is probably the kind of stuff jepp does for you without having to mess with JNI yourself. Packaing JNI wrapped C programs in a cross platform manner can be a hell. -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel ------------------------------------------------------------------------------ The Windows 8 Center In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general