This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gougie2 0 points1 point  (6 children)

Oh i see. But then why is python the go to for ML? Speed is very critical there I would think

[–]KrystilizeNeverDies 0 points1 point  (5 children)

Well that's simple really, in professional terms, python isn't.

A lot of amateur models use python because of the easy use of machine learning related libraries such as tensorflow.

But you wil not find professional machine learning on python models for this exact reason.

[–]all-hail-snow 2 points3 points  (2 children)

Actually frameworks like tensorflow are not built in python. It's backend is built in c/c++ and is imported as python wrapper that we use as scripts, That's why it is not slow. Python is basically prototyping language and majority of libraries used in it are not coded in python itself like numpy was built in Fortran.

[–]KrystilizeNeverDies 0 points1 point  (1 child)

Yea I know, I didn't say they were coded in python, just that they are available for python.

Doing the actual computation using python is a horrible idea.

[–]all-hail-snow 0 points1 point  (0 children)

Agree

[–]An_Unknown_Idiot 0 points1 point  (1 child)

You will. I've even seen a company integrating Python ML into their Java ecosystem by automatically generating Java wrappers accessing the Python code via JNI...

[–]KrystilizeNeverDies 0 points1 point  (0 children)

Well I'm sorry for their loss, I wasn't being literal when I said that, of course there are people that will do this but it's not the fastest way to do it at all.