Posts

How to build a chrome Extension using Machine Learning??

Image
“All the negative thoughts and ideas that are in the world have proceeded from this evil spirit of fear.” -by Swami Vivekanand This blog helps you how to build a chrome extension using tensorflow.js and node.js(Machine Learning). This Chrome Extension finds explicit content on the web page of the current chrome tab and will change according to the user's requirements(that is will make explicit content star mark and highlight the sentence or remove it). Prerequisite Topics: Why chrome Extension? What is chrome Extension? Important files in chrome Extension. What are Tensorflow.js and Node.js? Prerequisite for the NLP model in tensorflow.js. Model loading and Running on the local server. Why Chrome Extension? There are various ways we can implement explicit text classifier i.e. NLP model. We found 2 best ways that are API and chrome extension.API has some drawbacks like privacy issue hence we choose chrome Extension. Benefits o

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 implementing the N