4 ms·
Genuine question: What are the quality improvements offered by Python? Is it mostly access to the scientific community's Numpy/Scipy/Matplotlib? The language'
by brrrrrm 5y ago
Genuine question: What are the quality improvements offered by Python? Is it mostly access to the scientific community's Numpy/Scipy/Matplotlib? The language's semantics?
- visarga 5y agoMost ML papers are implemented in Python, so you need it in order to be able to play with the latest and greatest toys, or you can wait for someone to port them to your favorite language, if ever.
- bckr 5y agoAnd I would say that this is because of the language's syntax & semantics. Pythonic code looks like pseudocode, aka business logic. There is very little boilerplate, and libraries are designed to hide what little there is. So this means that mathematicians who hate verbosity can read and write their algorithms with little cognitive overhead. Then you start to get the network effect where libraries are implemented or wrapped in Python, and people use those and start adding abstractions etc. The two main deep learning libraries (TensorFlow and PyTorch) are there, and those have huge gravity wells.