liveBook · Manning

Topic modeling

Topic modeling is an unsupervised statistical or computational technique for inferring recurring latent thematic structures from a collection of documents.

How 2 Manning books explain it

Starting Data Analytics with Generative AI and Python

Topic modeling is a statistical or machine-learning technique that discovers recurring abstract topics in a collection of documents.

How it is used
Identifies common concerns across collections such as negative customer reviews when individual summaries would remain cumbersome to consolidate.
How deep it goes
Explains document-topic mixtures and word distributions, then demonstrates preprocessing, filtering, output interpretation, and translation.
Examples
Uses Portuguese negative customer reviews, five extracted topics, English translations, and interpretations about delivery, products, purchases, and missing items.
What you can do after
Apply it via Python, pandas, NLTK, and generative AI to extract and interpret recurring concerns in filtered review collections.

Read how Starting Data Analytics with Generative AI and Python explains topic modeling →

Outlier Detection in Python

Topic modeling is an unsupervised technique for inferring recurring semantic topics and their distributions in a collection of documents.

How it is used
Uses document content to create topic features for outlier detection, interpretation, and text clustering.
How deep it goes
Explains co-occurring words, document-topic scores, interpretation limits, and practical tooling without deriving the underlying algorithms.
Examples
Demonstrates expense-comment topics and BERTopic assignments on the 20 Newsgroups dataset.
What you can do after
Apply it via BERTopic to generate topics, document assignments, and topic probabilities for text collections.

Read how Outlier Detection in Python explains topic modeling →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.