Why is Python more popular than R or Java for machine learning ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Why is Python more popular than R or Java for machine learning ?

Basicaly why is Python the most used language for machine learning...

23rd Apr 2019, 12:08 PM
Svarog
11 Answers
+ 6
Easy one. Python makes your life easier when we talk about data manipulation. Other example is IA tries to mimic the humam behaviour and python language simplicity makes algorithms closer to human thinking (its easier to understand). You don't need to think in unnecessary things in python. And for last but no less important. Libraries. Python libraries for machine learning and IA are very good. Seen people talking about speed. Not really critical otherwise people would be using only C++.
23rd Apr 2019, 1:45 PM
Anya
Anya - avatar
+ 5
Better libraries and easy, unbloated syntax.
24th Apr 2019, 2:21 AM
Sonic
Sonic - avatar
+ 4
Because of its easy syntax and easy to code nature . Python is considered as the most flexible programming language . User friendly in nature. Python provides many different library which is very much suitable for any Machine Learning applications. Broad application possible by using Python as the programming language. Interpreted Programming Language which makes it abit slower but puts lots of other advantages. Python is readable and well structured programming language. Python also supports Dynamic Typing. All the above mention features which Python provides makes it very suitable and the best programming language for Machine Learning . This is the reason why people generally prefer Python Concept during Machine Learning and also during their live projects . http://pythonandmltrainingcourses.com/courses/best-diploma-in-python-course-in-delhi/
24th Apr 2019, 4:58 AM
rajshivakoti
rajshivakoti - avatar
+ 4
because the syntax of python is more easier than other languages and it is also easier to understand in comparison to others... so this language is in trending nowadays....
25th Apr 2019, 3:52 AM
Md Shadab Alam
Md Shadab Alam - avatar
+ 3
as for easy part yes i agree with Prerak Gada. but fast/slow ? i'm pretty sure java as fast, or maybe more at some cases. https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/JUMP_LINK__&&__python__&&__JUMP_LINK.html java is actually still a good choice for such a purpose, maybe its just uncommon thing to see. here's a pretty good example the entire "game" written in java and c++ https://en.m.wikipedia.org/wiki/Façade_(video_game) the "game" itself is so dynamic where us the player are actually join the conversation by typing and the ai will respond accordingly based on the scenario that played
23rd Apr 2019, 1:08 PM
Taste
Taste - avatar
+ 2
Because python is a very easy, advanced and fast programming language where as java is one of the slowest programming language. Python can be used for a lot of things like for web designing, hacking, in machine learning, etc
23rd Apr 2019, 12:19 PM
Prerak Gada
Prerak Gada - avatar
+ 2
From fast/show I mean that wherever java is used, u will notice that the software is much slower than any other software where python is used, I just told this from my experience.
23rd Apr 2019, 1:11 PM
Prerak Gada
Prerak Gada - avatar
+ 2
Python is backbone of all programming languages along with C++, JS & Java. Basis on dbms, DNS, RDBMS, AI, GUI, ROBOTICS, DEEP LEARNING, WEB DESIGN & DEVELOPMENT, Machine learning, SECURITY & HACKING SOFTWARE + APPS all of that & several such tasks are set up, & possible through Python 😫🤣🤣😂😍🤩😫😪👏🌻🕊️🍃🌼🍃
24th Apr 2019, 4:55 AM
Asim Farheen
Asim Farheen - avatar
+ 2
Python is considered to be in the first place in the list of all AI development languages due to the simplicity. The syntaxes belonging to python are very simple and can be easily learnt. Therefore, many AI algorithms can be easily implemented in it. Python takes short development time in comparison to other languages like java or Ruby. Python supports object oriented, functional as well as procedure oriented styles of programming. There are plenty of libraries in python, which make our tasks easier. For example: Numpy is a library for python that helps us to solve many scientific computations. Also, we have Pybrain, which is for using machine learning in Python. http://pythonandmltrainingcourses.com/6-months-training-in-noida/
24th Apr 2019, 5:41 AM
navdeep
+ 1
i can agree with it i bet most of them using gui, somehow swing as GUI make things slower in java program. i was writing webserver using java, and nothinh wrongh with the speed
23rd Apr 2019, 1:25 PM
Taste
Taste - avatar
+ 1
Ok then......... I have to agree u as I don't know much because I am a beginner
23rd Apr 2019, 1:30 PM
Prerak Gada
Prerak Gada - avatar