Google is committed to advancing racial equity for Black communities. See how.

Get started with comment-spam detection

Learn the fundamentals of making custom text-classification models for your web apps using TensorFlow.js.

 

Introduction to TensorFlow.js and Machine Learning

Video

Learn the basics of natural-language processing, how TensorFlow.js fits into the picture, and why you might want to consider using ML in JavaScript.

Applications of ML: Comment spam detection

Video

Learn how you can use pre-made ML models in JS to bring natural language processing abilities to your web apps, and why the size of the ML model you choose matters when designing for mobile apps.

Build a comment-spam detection system using TensorFlow.js

Codelab

Learn how to create a website that can classify spam comments entirely in the web browser using a TensorFlow.js pretrained ML model to filter comment spam on the client side before it even reaches the server.

Get started with comment spam detection

Pass the quiz to earn a badge.