Skip to main content

Introducing new learning courses and educational videos from Apress. Start watching

  • Book
  • © 2019

Beginning Anomaly Detection Using Python-Based Deep Learning

With Keras and PyTorch

Apress
  • Explains some of the most effective and efficient anomaly detection methods available

  • Provides annotated Python code snippets and notebooks

  • Covers the most contemporary approaches to anomaly detection

  • Uses two popular deep learning frameworks—Keras and PyTorch

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-5177-5
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book USD 44.99
Price excludes VAT (USA)

This is a preview of subscription content, access via your institution.

Table of contents (8 chapters)

  1. Front Matter

    Pages i-xvi
  2. What Is Anomaly Detection?

    • Sridhar Alla, Suman Kalyan Adari
    Pages 1-23
  3. Traditional Methods of Anomaly Detection

    • Sridhar Alla, Suman Kalyan Adari
    Pages 25-71
  4. Introduction to Deep Learning

    • Sridhar Alla, Suman Kalyan Adari
    Pages 73-122
  5. Autoencoders

    • Sridhar Alla, Suman Kalyan Adari
    Pages 123-178
  6. Boltzmann Machines

    • Sridhar Alla, Suman Kalyan Adari
    Pages 179-212
  7. Long Short-Term Memory Models

    • Sridhar Alla, Suman Kalyan Adari
    Pages 213-256
  8. Temporal Convolutional Networks

    • Sridhar Alla, Suman Kalyan Adari
    Pages 257-295
  9. Practical Use Cases of Anomaly Detection

    • Sridhar Alla, Suman Kalyan Adari
    Pages 297-318
  10. Back Matter

    Pages 319-416

About this book

Utilize this easy-to-follow beginner's guide to understand how deep learning can be applied to the task of anomaly detection. Using Keras and PyTorch in Python, the book focuses on how various deep learning models can be applied to semi-supervised and unsupervised anomaly detection tasks.

This book begins with an explanation of what anomaly detection is, what it is used for, and its importance. After covering statistical and traditional machine learning methods for anomaly detection using Scikit-Learn in Python, the book then provides an introduction to deep learning with details on how to build and train a deep learning model in both Keras and PyTorch before shifting the focus to applications of the following deep learning models to anomaly detection: various types of Autoencoders, Restricted Boltzmann Machines, RNNs & LSTMs, and Temporal Convolutional Networks. The book explores unsupervised and semi-supervised anomaly detection along with the basics of time series-based anomaly detection.

By the end of the book you will have a thorough understanding of the basic task of anomaly detection as well as an assortment of methods to approach anomaly detection, ranging from traditional methods to deep learning. Additionally, you are introduced to Scikit-Learn and are able to create deep learning models in Keras and PyTorch.


What You Will Learn
  • Understand what anomaly detection is and why it is important in today's world
  • Become familiar with statistical and traditional machine learning approaches to anomaly detection using Scikit-Learn
  • Know the basics of deep learning in Python using Keras and PyTorch
  • Be aware of basic data science concepts for measuring a model's performance: understand what AUC is, what precision and recall mean, and more
  • Apply deep learning to semi-supervised and unsupervised anomaly detection

Who This Book Is For

Data scientists and machine learning engineers interested in learning the basics of deep learning applications in anomaly detection

Keywords

  • Anamoly Detection
  • Deep Learning
  • Python
  • Keras
  • PyTorch
  • Novelty detection
  • Auto Encoders
  • Fraud Detection
  • Semi-supervised
  • Unsupervised

Authors and Affiliations

  • New Jersey, USA

    Sridhar Alla

  • Tampa, USA

    Suman Kalyan Adari

About the authors

Sridhar Alla is the co-founder and CTO of Bluewhale, which helps organizations big and small in building AI-driven big data solutions and analytics. He is a published author of books and an avid presenter at numerous Strata, Hadoop World, Spark Summit, and other conferences. He also has several patents filed with the US PTO on large-scale computing and distributed systems. He has extensive hands-on experience in several technologies, including Spark, Flink, Hadoop, AWS, Azure, Tensorflow, Cassandra, and others. He spoke on Anomaly Detection Using Deep Learning at Strata SFO in March 2019 and will also present at Strata London in October 2019. He was born in Hyderabad, India and now lives in New Jersey, USA with his wife Rosie and daughter Evelyn. When he is not busy writing code, he loves to spend time with his family and also training, coaching, and organizing meetups. 


Suman Kalyan Adari is an undergraduate student pursuing a BS degree in Computer Science at the University of Florida. He has been conducting deep learning research in the field of cybersecurity since his freshman year, and has presented at the IEEE Dependable Systems and Networks workshop on Dependable and Secure Machine Learning held in Portland, Oregon, USA in June 2019. He is quite passionate about deep learning, and specializes in its practical uses in various fields such as video processing, image recognition, anomaly detection, targeted adversarial attacks, and more. 

Bibliographic Information

  • Book Title: Beginning Anomaly Detection Using Python-Based Deep Learning

  • Book Subtitle: With Keras and PyTorch

  • Authors: Sridhar Alla, Suman Kalyan Adari

  • DOI: https://doi.org/10.1007/978-1-4842-5177-5

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books

  • Copyright Information: Sridhar Alla, Suman Kalyan Adari 2019

  • Softcover ISBN: 978-1-4842-5176-8Published: 11 October 2019

  • eBook ISBN: 978-1-4842-5177-5Published: 10 October 2019

  • Edition Number: 1

  • Number of Pages: XVI, 416

  • Number of Illustrations: 530 b/w illustrations

  • Topics: Artificial Intelligence, Python, Open Source

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-5177-5
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book USD 44.99
Price excludes VAT (USA)