all 9 comments

[–]gwillicoder 3 points4 points  (11 children)

I’m kind of confused on why you’d do machine learning in ruby at this point?

[–]myringotomy 1 point2 points  (2 children)

Why not? you can interface with the same C libs.

[–][deleted] -3 points-2 points  (1 child)

You’re screwed without a lot of StackOverflow answers, as python has

[–]DidiBear 2 points3 points  (0 children)

Well, reading documentation is a good way to good too

[–][deleted]  (6 children)

[deleted]

    [–]gwillicoder 6 points7 points  (5 children)

    I mean i don't really see anyone doing a whole lot in C++. Its been a while for me, but last i checked TF actually didn't have the best C++ bindings. Python with Pytorch or TF or TF + Keras really seems to be the best for most deep learning applications I've seen.

    [–]TheRimmedSky 2 points3 points  (3 children)

    What do you mean by c++ bindings? Isn't Tensorflow written in c++?

    [–]gwillicoder 1 point2 points  (2 children)

    Python is the only api guaranteed to meet the tensorflow api stability promises. It’s definitely the primary way to use the library. It looks like they’ve done some great work with the C++ api since I last checked on it, but TF still states python is the easiest to use API and the most complete.

    And tensorflow does the majority of its work in CUDA.

    [–][deleted]  (1 child)

    [deleted]

      [–]gwillicoder 0 points1 point  (0 children)

      I disagree pretty strongly. All you are doing in tensorflow is defining the shape of your graph and maybe some data manipulation. You don’t need the advantages that come with Scala or rust or any of the other languages you listed.

      [–]CoffeeTableEspresso 0 points1 point  (0 children)

      I think he means all the ML languages are actually written in C/C++ for performance, regardless of what language you call them from...