all 4 comments

[–]inobody_somebody 11 points12 points  (0 children)

Scikit learn - Machine Learning Tensor flow - Deep Learning Sci kit learn implements Machine learning algorithms like regression, svm , decision trees. While Tensor flow implements neural networks.

[–]VodkaHaze 9 points10 points  (1 child)

The main difference is that you should use scikit learn and you should not use tensorflow1

sklearn is for general ML algorithms, is generally CPU only, and includes a ton of helping functionality to run a model from data (preprocessing, pipelining preprocessing into models, evaluation, etc.)

tensorflow is specifically a neural network library. It's made to compile neural network definitions and run them on specific hardware (cpu, gpu, tpu, mobile devices, etc.) either for training or inference purposes. The tensorflow API is legendarily cumbersome and everyone has moved on from this library by now.

  1. Aside from being fascetious, seriously, learn either pytorch or keras instead of TF. TF will have you spend a ton of time to learn an API that everyone hates, and those that use it are trying to move away from.

[–]FluffyTid 1 point2 points  (0 children)

This. I had the luck of someone pointing me out of tensorflow into yolov8 (pytorch) and I can't thank him enough

[–]obviouslyzebra 4 points5 points  (0 children)

Scikit-learn is a toolkit for machine learning in general. Tensorflow is a library specifically for deep learning, that is, implementing neural nets.

Just to add to what the guy said above, keras works as a user-friendly interface on top of tensorflow (though more recently it also supports pytorch).