Skip to Content
Deep Learning with PyTorch
book

Deep Learning with PyTorch

by Eli Stevens, Thomas Viehmann, Luca Pietro Giovanni Antiga
July 2020
Intermediate to advanced
520 pages
15h 29m
English
Manning Publications
Content preview from Deep Learning with PyTorch

12 Improving training with metrics and augmentation

This chapter covers

  • Defining and computing precision, recall, and true/false positives/negatives
  • Using the F1 score versus other quality metrics
  • Balancing and augmenting data to reduce overfitting
  • Using TensorBoard to graph quality metrics

The close of the last chapter left us in a predicament. While we were able to get the mechanics of our deep learning project in place, none of the results were actually useful; the network simply classified everything as non-nodule! To make matters worse, the results seemed great on the surface, since we were looking at the overall percent of the training and validation sets that were classified correctly. With our data heavily skewed toward negative samples, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Deep Learning with PyTorch

Deep Learning with PyTorch

Vishnu Subramanian
Grokking Deep Learning

Grokking Deep Learning

Andrew W. Trask

Publisher Resources

ISBN: 9781617295263Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link