Z
Z
zim322015-11-10 13:27:19
Machine learning
zim32, 2015-11-10 13:27:19

Why is Python so popular in machine learning?

I see more and more articles about machine learning that mention python. Amazon searches also return books that use python. Or is python used only as an API for c/c++ code?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
mamkaololosha, 2015-11-10
@mamkaololosha

It is not popular in machine learning. It is popular in machine learning courses. Because of its simplicity.

N
nirvimel, 2015-11-10
@nirvimel

The thing is that Python has a unique combination of qualities:

  1. General purpose language (R and MATLAB are still for a narrow audience).
  2. Dynamic interpreted script enabling very fast development.
  3. Numpy provides access to vector calculations (without explicitly described cycles) at almost the maximum speed for hardware. On its basis, a huge infrastructure of mathematical python has grown. A whole scientific field, the size of which is difficult to imagine (on Scikit alone, there are several dozen libraries in all areas).
  4. Cython makes it possible to manually add those little things that someone may not have enough in Numpy, in a language compiled as C with a syntax similar to python.

S
Saboteur, 2015-11-10
@saboteur_kiev

Python, on the one hand, is very versatile, on the other hand, it is now generally in trend, so it can be found everywhere.

R
Roman Mirilaczvili, 2015-11-10
@2ord

Probably partly due to the fact that MATLAB is expensive, and Python costs nothing. Yes, they have the same syntax.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question