Posts

Showing posts with the label server.

Machine Learning In Browser

Image
You have to grow from the inside out. None can teach you, none can make you spiritual. There is no other teacher but your own soul.  -By Swami Vivekanand This blog guides you on how to implement your NLP model in the browser using tensorflow.js and node.js. In this, I used an NLP  model that prevents adding abusive or obscene content in the blog's comment box. Topics: 1)FrontEnd(Blog made using HTML and CSS) 2)Prerequisite for the NLP model in tfjs. 3)node server and model loading 4)model prediction Introduction: Writing blogs online is very common but sometimes people write abusive content in the comment section. That is nothing but cyberbullying so to prevent that this blog implementation censor abusive comment and it will not be added.   FrontEnd(Blog made using HTML and CSS) Front-end consist of a HTML page name predict.html .It is basic Page which is created using HTML,CSS,Javascript and bootstrap etc. Prerequisite for NLP model in tfjs Steps Required before implemen...