this post was submitted on 09 Nov 2023
22 points (82.4% liked)

Programming

16976 readers
163 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

So I wanted to get into ML using Python recently and I was wondering about which ML library I should learn as a ML beginner first. I've been using Python for a few years now.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 5 points 10 months ago (1 children)

Maybe find some code to look at on the HuggingFace hub page? HuggingFace libraries or PyTorch are likely to give you really good learning opportunities and examples. Just keep an eye out for timestamps of articles or version numbers. And of course use venv/conda/.. to not mess up your version when trying out different things ๐Ÿ˜‰

[โ€“] [email protected] 2 points 10 months ago* (last edited 10 months ago) (2 children)

In your opinion, is PyTorch easier than something like TF? What do you think about Keras?

[โ€“] [email protected] 2 points 10 months ago

Iโ€™m not personally coding with them, just often supporting people and their projects that do. Keras is also popular but Iโ€™ve at least personally seen slightly shoddier implementations with it. That could be selection bias though.

[โ€“] [email protected] 2 points 10 months ago

I personally think Keras has a nice and intuitive high level API for getting into nueral networks, but Pytorch is definitely the most prominent library. If your going to start somewhere you're not going to regret learning Pytorch.

That being said, as others have mentioned, if you want to be a good data scientist or ML practioner learning the basics is never a bad idea. Sklearn is still the best library for a lot of ML tasks and is good to be familiar with.

There are a couple of good books out there that start off with the basics using numpy, pandas, Sklearn and build up to nueral networks/deep learning. I've use this one in the past https://www.amazon.com/Machine-Learning-PyTorch-Scikit-Learn-learning/dp/1801819319.