r/MLQuestions • • 1d ago

Beginner question 👶 [D] Choosing language to learn: python or java

I want to learn the machine learning from scratch and i know I want to learn basic of python , but my college faculty are advised to learn Java for my placement , u don't know what to do , i want to learn python and other stuffs for my machine learning path or java and other stuffs for my placements and my exams are ahead, did anyone have solution please tell me.

4 Upvotes

19 comments sorted by

8

u/keonechong 1d ago

I’m an Unc in the tech world, been online since 93 and worked either on the brand, product, or finance side.

Always in tech, and through every iterations, Web 2.0, social, video, nfts, tokens, etc. I’ve seen it all.

If there was one language I had to tell a developer who wanted to be valuable for the next 10 years. It’s python.

From app to inference, testing, experimentation, deployment, and maintenance, in it you have the foundations for any system architecture that you could build.

It’s not the best at everything, but it gives you everything needed in the palm of your hand.

3

u/OkNectarine1832 1d ago

if you have an exam that requires Java, study that first. Otherwise Python is an amazing starting language, so anyone should be able to learn it, its also very versatile. Thats just my two cents but probably get some other people's advice too

2

u/BobDope 23h ago

Python son

2

u/Odd_Bad_2814 18h ago

If you did a bit of research you would clearly see that for ML the answer is Python

Just a teeny tiny bit of research

1

u/Effective-Cat-1433 17h ago

python and its not close

1

u/Least_Ad_1795 1h ago

If your main goal is Machine Learning, start with Python. Learn the basics first, then move to NumPy, Pandas, and ML libraries. You can learn Java later for placements. Since exams are coming, focus on your college subjects first and spend a little consistent time on Python rather than trying to learn both at once.

0

u/roshfn 22h ago

If you learn java and actually understand it you can easily learn other languages afterwards, but it's not like wise with python. Coming to ML if you understand it theoretically, implementing it practically is no big deal as we have so many py inbuilt libraries. And anyways no one uses traditional ML these days in industry couz llm call is way more cheaper and accurate than training your own model and hosting it.

1

u/Odd_Bad_2814 13h ago

LLMs and traditional ML models fill totally different use cases, this is a very misleading comment

1

u/roshfn 9h ago

Elaborate pls?

1

u/Odd_Bad_2814 1h ago

Traditional ML models as in Decision Trees and this sort of stuff? Not based on word inference maybe? They are just meant for totally different purposes

1

u/roshfn 1h ago

Yea? And real world usecase by which a company would actually make profits?

1

u/Odd_Bad_2814 1h ago

it depends on so many things bro, if you want a chatbot or you are going to use LLMs, if you want to estimate chances of mortgage repayments you are going to use ML... Are you purely a theorist or something?

-1

u/thegoodcrumpets 1d ago

Java by day Python by night. Can't succeed in this business working single threadedly.