How to call python and sklearn from matlab?

I need to call the sklearn function on matlab. I heard that there are some problems when calling the numpy function, and sklearn is based on numpy.

Is there any reference on this?

-one
scikit-learn matlab lasso
Apr 05 '14 at 21:25
source share
1 answer

For Python, I see different solutions:

  • COM on Windows platforms. To do this, you need to register the application, check whether it is possible and allowed in the cluster.
  • XMLRPC or SOAP. You may need to use the Java classes in Matlab, but as you already understood, this is very simple. Make sure that the cluster has a Java virtual virtual machine, many of them run matlab without java.
  • You can insert python code in c / C ++, which allows you to write mex functions that run c code: http://docs.python.org/2/extending/embedding.html
  • Build a .NET assembly using IronPython, matlab.net support
+1
Apr 05 '14 at 23:53 on
source share



All Articles