S
S
Semyon Beloglazov2017-07-05 17:23:12
Perl
Semyon Beloglazov, 2017-07-05 17:23:12

Why is Python used to write neural networks, but not Ruby/Php/Perl?

I would like to hear why everyone is fixated in this regard only on Python, skipping languages ​​\u200b\u200blike Ruby or PHP, why is Python better than them? Or why are they worse than a python in this area?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
S
Sergey Gornostaev, 2017-07-05
@Batlab

I could now start listing a long list of Python's advantages over other languages ​​and kindle a fierce holivar, but I won't. The most important advantage of Python over other languages ​​is the extremely simple interaction between Python code and C\C++ code. This makes it possible to write simple and elegant logic in scripts, and move heavy calculations into native code.

S
Stalker_RED, 2017-07-05
@Stalker_RED

Because for python there are already quite a large number of ready-made libraries focused on neural networks.

A
Astrohas, 2017-07-05
@Astrohas

Python is notorious for choking its victims before swallowing it.

.
And if without jokes, then the python provides the things you need for this in a convenient form. Here you have functional programming, imperative programming, classes, meta-classes, and so on. Also important is the presence of cool scientific libraries such as all sorts of numpy, scipy all sorts of oranges.

D
Dimonchik, 2017-07-05
@dimonchik2013

because Python is C with a human face, and what could be faster than C?

D
Dmitry, 2017-07-06
@mayar

That's how it happened historically. Probably because Rubin was written by a Japanese and few people in the West knew about him before Rails, and PHP is "Personal Home Page".
Well, at the moment, a lot of everything has already been written in Python and it’s easier to use ready-made developments.

O
ololo pishpish, 2017-07-05
@ololopishpishrealne

Who told you this? Real posons are mad at libsvm and dlib.

C
ChernovDmitry, 2017-07-06
@ChernovDmitry

because at the leading universities in this specialty they teach in python

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question