The basics of cython are, and I'm not kidding here, quite easy to learn.
Steps:
1) Rename .py file to .pyc
2) Put "int" in front of all object declarations that will be integers,
"float" in front of things that are floats. (If you know java/C/C++ etc,
this will feel really natural)
3) Compile with cython - *cython filename.pyc*
4) Done.
After that, it gets slightly more complicated -- i.e. importing properly
and using cdef etc.
I can never remember the method to do numpy arrays, but google helps with
that.
Good luck!
On 26 June 2013 03:27, Issam <issamo...@gmail.com> wrote:
> Very helpful information! Thanks @Olivier!
>
> I'll do my best!
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
--
Public key at: http://pgp.mit.edu/ Search for this email address and select
the key from "2011-08-19" (key id: 54BA8735)
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general