Reader small image

You're reading from  Automated Machine Learning with AutoKeras

Product typeBook
Published inMay 2021
Reading LevelBeginner
PublisherPackt
ISBN-139781800567641
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Luis Sobrecueva
Luis Sobrecueva
author image
Luis Sobrecueva

Luis Sobrecueva is a senior software engineer and ML/DL practitioner currently working at Cabify. He has been a contributor to the OpenAI project as well as one of the contributors to the AutoKeras project.
Read more about Luis Sobrecueva

Right arrow

Understanding topic classification

We saw a small example of topic classification in Chapter 5, Text Classification and Regression Using AutoKeras, with the example of the spam classifier. In that case, we predicted a category (spam/no spam) from the content of an email. In this section, we will use a similar text classifier to categorize each article in its corresponding topic. By doing this, we will obtain a model that determines which topics (categories) correspond to each news item.

For example, let's say our model has input the following title:

"The match could not be played due to the eruption of a tornado"

This will output the weather and sports topics, as shown in the following diagram:

Figure 8.1 – Workflow of a news topic classifier

Figure 8.1 – Workflow of a news topic classifier

The previous diagram shows a simplified version of a topic classifier pipeline. The raw text is processed by the classifier and the output will be one or more categories.

Later in...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Automated Machine Learning with AutoKeras
Published in: May 2021Publisher: PacktISBN-13: 9781800567641

Author (1)

author image
Luis Sobrecueva

Luis Sobrecueva is a senior software engineer and ML/DL practitioner currently working at Cabify. He has been a contributor to the OpenAI project as well as one of the contributors to the AutoKeras project.
Read more about Luis Sobrecueva