Mathieu and Olivier,

Thanks for your emails. 

My interest on python and scikit-learn growth each day so I will try a
solution for the new system through Jepp or Jpype. I will let you know
what will happen.

Also, You wrote
>>>>
Maybe you should have a look at jepp or jpype instead (depending if you
want to call CPython programs from a Java runtime or the
converse):

http://jepp.sourceforge.net/
http://jpype.sourceforge.net/
>>>>

The description of the process for the integration of the Jar file is:

"Java file programs executed using the Java Runtime Environment and
conversion engine runtime libraries"

So it looks like that I can use jepp and jpype to keep Python and Scikit
assuming that the system provider give me an API-python ? 

Thanks for this

Didier

-----Original Message-----
From: Olivier Grisel [mailto:olivier.gri...@ensta.org] 
Sent: 26 October 2012 16:34
To: math...@mblondel.org; scikit-learn-general@lists.sourceforge.net
Subject: Re: [Scikit-learn-general] Jython and Scikit-Learn

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-app
s/
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
This e-mail is intended solely for the addressee, is strictly confidential and 
may also be legally privileged. If you are not the addressee please do not 
read, print, re-transmit, store or act in reliance on it or any attachments. 
Instead, please email it back to the sender and then immediately permanently 
delete it. E-mail communications cannot be guaranteed to be secure or error 
free, as information could be intercepted, corrupted, amended, lost, destroyed, 
arrive late or incomplete, or contain viruses. We do not accept liability for 
any such matters or their consequences. Anyone who communicates with us by 
e-mail is taken to accept the risks in doing so. Opinions, conclusions and 
other information in this e-mail and any attachments are solely those of the 
author and do not represent those of CapQuest Group Limited or any of its 
subsidiaries unless otherwise stated. CapQuest Group Limited (registered number 
4936030), CapQuest Debt Recovery Limited (registered number 3772278), CapQuest 
Investments Limited (registered number 5245825), CapQuest Asset Management 
Limited (registered number 5245829) and CapQuest Mortgage Servicing Limited 
(registered number 05821008) are all limited companies registered in England 
and Wales with their registered offices at Fleet 27, Rye Close, Fleet, 
Hampshire, GU51 2QQ. Each company is a separate and independent legal entity. 
None of the companies have any liability for each other's acts or omissions. 
This communication is from the company named in the sender's details above.

------------------------------------------------------------------------------
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

Reply via email to