Source: Deep Learning on Medium
Machine Learning on the web with Tensorflowjs
Machine Learning/Deep Learning has emerged as the hot new technology to persuit. Machine Learning and Deep Learning is providing solutions to vast range of complex problems which are not possible with common software design paradigms.Ranging from Finance,Healthcare to even agriculture,ML has found its place in every corner.Image Detection,Self driving cars,Chatbots,Predicting stocks,Recommendation Systems etc. and a whole lot of application have only been possible because of ML/DL.
The foundation of every Machine Learning or Deep Learning application has been Data.With enormous amount of data been generated with every activity in this world,the problem to utilize this data became a prime concern.This is where Data Science and ML came to rescue.
What is machine learning on the web?
Machine Learning with Python included a client server architecture where the business logic for the cognitive part including training and building the ML model was hosted on a web server which provided an Api endpoint to call the model from the client side using the endpoint.All the code for the cognitive part of the login were written in python.From the client side in the browser we needed to make an api call each time we made a prediction.This required the server to been always available to serve the endpoint.So if for some reason the server goes offline or there is no internet connection the client side application fails to perform or predict.For applications which required decent amount of learning or which required big sized models to work with,this was perfectly fine as such big models cannot be loaded in the browser but for applications which required small models to work with this seemed to be a costly affair.This is where Machine Learning on the web came to rescue.
What is Tensorflowjs?
Brief History of Tensorflowjs
Before going to Tensorflowjs, lets start with Tensorflow. Tensorflow was developed by Google in 2011 as their own software for Machine Learning/Deep Learning application.Tensorflow is written in C++ so the code can be executed at a very low level.It has support for languages like Python,R and Java.
In 2017, a project called Deeplearn.js was started which enabled ML/DL model to run without API calls.In 2018, it was renamed Tensorflow.js .
Originally from : https://mithilesh.tech/