This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Why JavaScript when everyone I work with uses Python for ML?

 
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. All the developers I work with use Python exclusively for ML work. I have dipped my toe into the water in the ML area and found Python an excellent tool (even though I had to learn it) with many libraries that make building ML code very straightforward.
JavaScript, on the other hand, doesn’t seem (to me anyway) to be as clean a way to do ML.

Convince me to switch my way of thinking and thanks for taking my question.
 
Lanny Gilbert
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question is for Shanqing, Stan & Eric specifically, but everyone in general
 
Bartender
Posts: 1249
39
IBM DB2 Netbeans IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, a good answer could be : if I'm already comfortable with JavaScript, why I should I use Python for ML, when Tensor flow supports JavaScript as well?
By the way, I followed a path very similar to yours - approaching ML took me to learn Python.My humble opinion is that in ML the language you use is the less important aspect of the matter. It's just a mean to use powerful libraries, like Tensor flow.
 
Lanny Gilbert
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Claude, that raises a good point. If I learn JS in order to access TensorFlow libraries, I’ve started to get a good JS foundation so I can use other powerful libraries like Angular for front-end and Node.js for server side. I’m not aware of anything similar for Python. Also, there are libraries in JS that allow you to write in JS and then compile into iOS or Android native. So seems that learning JS to use TensorFlow is a gateway to all kinds of other technologies while Python doesn’t seem to have that. At least not that I can find.  
 
Claude Moore
Bartender
Posts: 1249
39
IBM DB2 Netbeans IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, as usual... it depends, Lanny. I bring my own experience: i learnt Python as much as I needed to play (and I point up the word 'play') a bit with machine learning and TensorFlow.
I couldn't define myself a pythonist, just I understood some 'advanced basics' of that language.
Of course, you can get more and more involved with javascript and take advantage of the knowledge you gain by working with ML to develop further your skills as Javascript developer.
But I presume that an AI researcher would just treat python or javascript as a mechanic would treat an hammer or a screwdriver... i.e, tools.
The real core of AI are mathematical and statistical models, it's something we should never forget.
 
You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!