IdeaCoding Lab
Published in

IdeaCoding Lab

MEAN + TensorFlow.js: a single language, a single data exchange format for machine learning based web applications!

MEAN: a single language, a single format!

“Despite the fact that Python and R have a better-established community for machine learning and data science, the JavaScript community is building up support for machine-learning-related datapipelines as well.” Eric D. Nielsen, Shanqing Cai, and Stanley Bileschi

Recently, I have decided, by accident, to learn deep learning using JavaScript; I saw deep learning on Matlab and Python during my first postdoc. A first look at Twitter, you can find hostility regarding this choice. I have written here a piece of work on the topic.

On this short essay, I want to talk about how I am more and more convinced that I want to buy this fight! Nothing against python, however, and I more and more convinced that TensorFlow.js is a nice option to consider when implementing deep learning! There is not need to allow just one community take machine learning over!

I am a MEAN stack developer, and the more I read the book “Deep Learning with JavaScript: Neural Networks in TensorFlow.js”, the more I am convinced about it being an nice option for us, that focus on web development. There are several advantages and I hope to keep bringing those here.

A call for the MEAN stack developers as myself

“it is often faster to train models [deep learning] in tfjs-node than in Keras (Python)” Eric D. Nielsen, Shanqing Cai, and Stanley Bileschi

“the speed of model training in tfjs-node [node.js] is on par with the speed of Keras in Python.” Eric D. Nielsen, Shanqing Cai, and Stanley Bileschi

I have selected this excerpts because most likely that is where most of the “fanboys”, as I read somewhere to refer to attackers of Angular, will attack. I heard that for years when being attacked for using Java, instead of alternatives such as C++. See that it is actually, at the worst scenario, as fast as the beloved Python.

See that in addition, we have just one language, as we MEAN stack developers love, no need to add an aditional headache. Therefore, we can use machine learning without leaving our stack!

MEAN + TensorFlow.js: a single language, a single format for machine learning based web applications!

===
Donations

Buy me a coffee ☕☕☕☕☕ or a book!! 📚📚📚📚📚
If any of this content was useful to you! it is an one time donation, no need to donate again!
https://www.buymeacoffee.com/jorgepires

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jorge Guerra Pires, PhD

Jorge Guerra Pires, PhD

Independent Researcher and writer at Amazon. Visit my profile on Amazon: amazon.com/author/jorgeguerrapiresphd | “I want thinkers, not followers!”