Get started with mobile text classification

Learn how to use machine learning in a mobile app to identify text and build an app capable of filtering spam from comments.

 

Get started with Text Classification—Part One

Video

Learn the concepts behind ML in this demo video of a simple messaging app using text classification ML to identify text and filter spam.

Build a basic messaging-style app

Codelab

Learn to build a simple messaging app with a text box and a send button.

Build a comment-spam ML model

Codelab

Learn how you can use TensorFlow Lite Model Maker to create an ML model, trained on data collected from YouTube comments, that filters spam from approved comments.

Get started with Text Classification—Part Two

Video

Learn to add a spam-detecting ML model into a simple messaging app.

Update your app to use a spam-filtering ML model

Codelab

Learn to update an app with an ML model capable of basic comment-spam filtering.

Go further with Text Classification

Video

Learn how to update and enhance your app to handle more than the spam it was trained for.

Create a custom text-classification model with TensorFlow Lite Model Maker

Codelab

Learn to retrain your spam-detector model to block specific types of spam using TensorFlow Lite Model Maker.

Get started with mobile text classification quiz

Pass the quiz to earn a badge.