Imbalanced Text Data

Augment Training Data and Classify Text you own this product

This project is part of the liveProject series Training Models on Imbalanced Text Data
intermediate Python • basics of NumPy, pandas, Jupyter, Google Colab notebooks, TensorFlow, and of NLP
skills learned
merging training and synthetic data • building and training a text classification model • scoring text data with the model
KC Tung
1 week · 4-7 hours per week · ADVANCED

placing your order...

Don't refresh or navigate away from the page.
liveProject This project is part of the liveProject series Training Models on Imbalanced Text Data liveProjects give you the opportunity to learn new skills by completing real-world challenges in your local development environment. Solve practical problems, write working code, and analyze real data—with liveProject, you learn by doing. These self-paced projects also come with full liveBook access to select books for 90 days plus permanent access to other select Manning products. $19.99 $29.99 you save $10 (33%)
Augment Training Data and Classify Text (liveProject) added to cart
continue shopping
adding to cart

choose your plan


only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free eBook every time you renew
  • choose twelve free eBooks per year
  • exclusive 50% discount on all purchases
  • Augment Training Data and Classify Text eBook for free
Look inside
In this liveProject, you’ll augment text-based training data for a sentiment analysis algorithm with artificially generated positive reviews. You’ll merge the synthetic positive reviews with an unbalanced dataset focused on negative reviews, thereby creating a balanced dataset for your model to train on. You’ll train your model, then evaluate its metrics using sklearn.
This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

KC Tung
KC Tung is an AI architect, machine learning engineer, and data scientist who specializes in delivering AI, deep learning, and NLP models across enterprise architectures. As an AI architect at Microsoft, he helps enterprise customers with use-case driven architecture, AI/ML model development/deployment in the cloud, and technology selection and integration best suited for their requirements. He is a Microsoft certified AI engineer and data engineer. He has a PhD in molecular biophysics from the University of Texas Southwestern Medical, and has spoken at the 2018 O'Reilly AI Conference in San Francisco and the 2019 O'Reilly Tensorflow World Conference in San Jose.


This liveProject is for Python programmers looking to augment training data. To begin this liveProject, you will need to be familiar with:

  • Intermediate Python, with basics of NumPy and pandas
  • Basics of Jupyter Notebook
  • Basics of Google Colab notebooks
  • Basics of TensorFlow
  • Basics of NLP
  • Basics of deep learning

you will learn

In this liveProject, you’ll learn how to augment unbalanced datasets with synthetic training data for sentiment analysis.

  • Merging training and synthetic data
  • Building and training a text classification model
  • Scoring text data with the model
  • Evaluating model performance with fundamental classification metrics


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.