Carnets icon indicating copy to clipboard operation
Carnets copied to clipboard

Add Scikit-Learn

Open gcalmettes opened this issue 6 years ago • 8 comments

Once Scipy is included, would Scikit-Learn be trivial to add? (dependencies Numpy/Scipy)

gcalmettes avatar Apr 17 '19 22:04 gcalmettes

I've had a look at it. scikit-learn is a really huge package. It will require pandas and scipy, which are already a bit hard. Once scipy is done, I will try scikit-learn, but I can't guarantee anything.

holzschu avatar Apr 18 '19 08:04 holzschu

Here is a SciPy build for ARM64: https://github.com/goodclass/scipy_arm64. Some things don't work and make the app crash. After SciPy, SciKit-Learn will be easy to build and include.

ColdGrub1384 avatar Aug 04 '19 20:08 ColdGrub1384

Thanks. Of course, compiling is only half the work. Making sure allocated memory is released when the kernel is terminated is the hard part for Carnets.

holzschu avatar Aug 05 '19 14:08 holzschu

Just checking as to whether there is any progress toward adding Scikit-Learn.

ifuchs avatar Dec 09 '19 16:12 ifuchs

New beta has scipy but scikit-learn does not appear to be installable.

ifuchs avatar Feb 22 '21 02:02 ifuchs

Yes, scikit-learn is an even bigger package than scipy. It requires scipy, but it also has its own C/Cython modules to cross-compile and check for memory issues. But we're getting there, slowly but surely.

Keep in mind that iOS terminates apps that use more than 100% CPU for more than 180s, so it might not be the best platform for intensive machine learning.

holzschu avatar Feb 22 '21 06:02 holzschu

The version with scikit-learn is now available for TestFlight: https://testflight.apple.com/join/UbNIjkjp

holzschu avatar Mar 23 '21 07:03 holzschu

The version with scikit-learn is now available on the AppStore: https://apps.apple.com/fr/app/carnets-jupyter-with-scipy/id1559497253 I am going to be able to close this issue.

holzschu avatar May 07 '21 14:05 holzschu