Machine Learning and Data Science in ... JavaScript?! Yes, that's possible. Python is not the only language that you can use to do that.
And here are some JavaScript libraries that will help you to do data science and machine learning with JS. Simply click the images to get to each respective website.
TensorFlow.js
This is TensorFlow, with JS, yep. You'll get the ML TensorFlow experience using your favorite language: JavaScript. It uses some pretty clever tricks, like using WebGL and shader language to make things fast.
ML5js
ML5js is a wrapper around TensorFlow.js that provides an easy-to-use API. It aims at making ML in the browser more accessible to creatives, students, and artists. Definitely worth it if you don't want to deal with low-level details.
Danfo.js
Danfo.js is basically Pandas but for JavaScript. It's built on top of TensorFlow and uses tensors under the hood. The experience is pretty great, and if you're comfortable with Pandas, you'll have an easy start here.
D(anfo)Notebook
Imagine a Jupyter notebook, but for JavaScript, and meant to be used with Danfo.js. That's what DNotebook is.
TorchJS
TorchJS provides JS bindings for PyTorch. Its primary purpose is to import and run TorchScripts that have previously been created from Python code, but it also provides an incomplete API to work directly in JavaScript.
ml.js
This is the JavaScript answer to scikit-learn. You'll find anything you could potentially miss from scikit here, as well!
Before You Leave
If you liked this article, feel free to visit me on Twitter. I regularly post content there. It is basically the platform where you will find my content first before it lands on my blog or somewhere else.
Top comments (0)