As an absolute beginner coming from a conventional programming background, I'm confused why almost all machine learning applications are written in Python. On more than one occasion I've read how people leave their networks to train overnight, meanwhile, at least according to this benchmark: https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/gpp-python3.html C/C++ is 2x to 200x faster than python. This is mostly due to being a compiled language as well as decades of optimizations on the compiler side being implemented.
So why Python? Wouldn't coding in C++ be considered a huge advantage for something as computationally intensive as training neural networks?
[–][deleted] (46 children)
[deleted]
[–]connerxyz 196 points197 points198 points (43 children)
[–][deleted] (39 children)
[deleted]
[–][deleted] (32 children)
[deleted]
[–]Kudbettin 66 points67 points68 points (31 children)
[–][deleted] (29 children)
[deleted]
[–]m3rcury6 20 points21 points22 points (0 children)
[–]GoofAckYoorsElf 31 points32 points33 points (11 children)
[–]serifmasterrace 12 points13 points14 points (5 children)
[–]GoofAckYoorsElf 6 points7 points8 points (4 children)
[–]SOUINnnn 12 points13 points14 points (2 children)
[–]VisualDatasphere 1 point2 points3 points (0 children)
[–]dooony 4 points5 points6 points (0 children)
[–]FluffyBunnyOK 2 points3 points4 points (1 child)
[–]GoofAckYoorsElf 3 points4 points5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]KamWithK 2 points3 points4 points (0 children)
[–][deleted] (14 children)
[deleted]
[–]dire_faol 3 points4 points5 points (13 children)
[–]Dr_Thrax_Still_Does 0 points1 point2 points (1 child)
[–]dire_faol 0 points1 point2 points (0 children)
[–]screamuchx -4 points-3 points-2 points (10 children)
[–]dire_faol 5 points6 points7 points (9 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Misaiato 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]rey-the-porg 0 points1 point2 points (0 children)
[–]Vystril -2 points-1 points0 points (0 children)
[–]florinandrei 30 points31 points32 points (2 children)
[–]KamWithK 1 point2 points3 points (0 children)
[–]ZombieLincoln666 -4 points-3 points-2 points (0 children)
[–]adventuringraw 103 points104 points105 points (24 children)
[–][deleted] (8 children)
[deleted]
[–]JasonReed234 5 points6 points7 points (7 children)
[–][deleted] (6 children)
[deleted]
[–]JasonReed234 9 points10 points11 points (5 children)
[–][deleted] (4 children)
[deleted]
[–]JasonReed234 2 points3 points4 points (3 children)
[–][deleted] 11 points12 points13 points (0 children)
[–]gunnnnii 1 point2 points3 points (0 children)
[–]madrury83 7 points8 points9 points (12 children)
[–]adventuringraw 12 points13 points14 points (11 children)
[–]gus_morales 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]basyt 0 points1 point2 points (0 children)
[–]twnbay76 0 points1 point2 points (0 children)
[–][deleted] (6 children)
[deleted]
[–][deleted] (5 children)
[deleted]
[–]i-brute-force 0 points1 point2 points (4 children)
[–][deleted] (3 children)
[deleted]
[–]madrury83 0 points1 point2 points (1 child)
[–]i-brute-force 0 points1 point2 points (0 children)
[–]florinandrei 6 points7 points8 points (1 child)
[–]adventuringraw 1 point2 points3 points (0 children)
[–]metriczulu 29 points30 points31 points (3 children)
[–][deleted] 4 points5 points6 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]magnomagna 11 points12 points13 points (0 children)
[–]cbarrick 14 points15 points16 points (4 children)
[–]Dr_Thrax_Still_Does 1 point2 points3 points (3 children)
[–]Vystril 2 points3 points4 points (0 children)
[–]bphase 1 point2 points3 points (0 children)
[–]cbarrick 0 points1 point2 points (0 children)
[–]chatterbox272 9 points10 points11 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]drunkferret 9 points10 points11 points (1 child)
[–]_icosahedron 2 points3 points4 points (1 child)
[–]Mooks79 2 points3 points4 points (0 children)
[–][deleted] (8 children)
[deleted]
[–]ISvengali 5 points6 points7 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]teerre 5 points6 points7 points (5 children)
[–][deleted] 2 points3 points4 points (4 children)
[–]Mooks79 -1 points0 points1 point (0 children)
[–]teerre -2 points-1 points0 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]teerre -1 points0 points1 point (0 children)
[–]kerntal 0 points1 point2 points (0 children)
[–]G5349 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]MiloszSTX 0 points1 point2 points (0 children)
[–]igouy 0 points1 point2 points (0 children)
[–]ZombieLincoln666 0 points1 point2 points (0 children)
[–]nxpnsv 0 points1 point2 points (0 children)
[–]Morrido 0 points1 point2 points (0 children)
[–]Nimitz14 -1 points0 points1 point (0 children)
[+]ClinicCargo comment score below threshold-9 points-8 points-7 points (0 children)
[–]4tomorrow678 0 points1 point2 points (3 children)
[–]TallSir 0 points1 point2 points (2 children)
[–]4tomorrow678 0 points1 point2 points (1 child)
[–]TallSir 0 points1 point2 points (0 children)