News for hackers. Stuff that matters.
Re:Scikit-Learn Version 1.0 by armcat on Tuesday September 14, 2021 @07:46AM (#28523242)
NN as in "neural network", or NN as in "nearest neighbour" algorithm? No to the former, yes to the latter. The reason for a "no" to neural networks - in my case I've only ever implemented neural networks with many layers, and typically using kernels, pooling mechanisms, etc, and since scikit-learn doesn't have GPU support, I opt for frameworks that do (PyTorch, TensorFlow). However, if you're only building fully-connected neural nets (MLPs), with just a few layers, you don't need GPU support since any benefits of having parallel processing are offset by shuffling data between CPU and GPU. So in that case, scikit-learn would probably work quite well, although I never tested this myself.
Re:Scikit-Learn Version 1.0 by woko on Tuesday September 14, 2021 @08:16AM (#28523537)
GPU can be useful for Nearest Neighbour as well. In case you have access to a GPU, I would strongly recommend Facebook's FAISS [1,2]. For everything else, sklearn is amazing.

[1] https://faiss.ai/ [2] https://github.com/facebookresearch/faiss

Re:Scikit-Learn Version 1.0 by armcat on Tuesday September 14, 2021 @08:32AM (#28523739)
Faiss looks very nice, thanks for the tip!
Re:Scikit-Learn Version 1.0 by zibzab on Wednesday September 15, 2021 @03:41AM (#28536359)
But ignoring acceleration, could one use scikit instead of tesnorflow?

I mean, ignoring everything else, scikit has a much friendlier API.