holzschu / Carnets

Carnets is a stand-alone Jupyter notebook server and client. Edit your notebooks on the go, even where there is no network.
https://holzschu.github.io/Carnets_Jupyter/
BSD 3-Clause "New" or "Revised" License
546 stars 31 forks source link

Add Scikit-Learn #19

Open gcalmettes opened 5 years ago

gcalmettes commented 5 years ago

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

holzschu commented 5 years ago

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.

ColdGrub1384 commented 4 years ago

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.

holzschu commented 4 years ago

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.

ifuchs commented 4 years ago

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

ifuchs commented 3 years ago

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

holzschu commented 3 years ago

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 commented 3 years ago

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

holzschu commented 3 years ago

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.