Book Image

Deep Learning and XAI Techniques for Anomaly Detection

By : Cher Simon
Book Image

Deep Learning and XAI Techniques for Anomaly Detection

By: Cher Simon

Overview of this book

Despite promising advances, the opaque nature of deep learning models makes it difficult to interpret them, which is a drawback in terms of their practical deployment and regulatory compliance. Deep Learning and XAI Techniques for Anomaly Detection shows you state-of-the-art methods that’ll help you to understand and address these challenges. By leveraging the Explainable AI (XAI) and deep learning techniques described in this book, you’ll discover how to successfully extract business-critical insights while ensuring fair and ethical analysis. This practical guide will provide you with tools and best practices to achieve transparency and interpretability with deep learning models, ultimately establishing trust in your anomaly detection applications. Throughout the chapters, you’ll get equipped with XAI and anomaly detection knowledge that’ll enable you to embark on a series of real-world projects. Whether you are building computer vision, natural language processing, or time series models, you’ll learn how to quantify and assess their explainability. By the end of this deep learning book, you’ll be able to build a variety of deep learning XAI models and perform validation to assess their explainability.
Table of Contents (15 chapters)
1
Part 1 – Introduction to Explainable Deep Learning Anomaly Detection
4
Part 2 – Building an Explainable Deep Learning Anomaly Detector
8
Part 3 – Evaluating an Explainable Deep Learning Anomaly Detector

Technical requirements

Here are the packages you will need for the example walk-through:

  • Lime – An open source Python library to explain ML models
  • scikit-image – An open source Python image-processing library
  • Matplotlib – A plotting library for creating data visualizations
  • NumPy – An open source library that provides mathematical functions when working with arrays
  • pandas – A library that offers data analysis and manipulation tools
  • Keras – An open source library that provides an API interface for neural networks
  • TensorFlow – An open source framework for building deep learning applications

A sample Jupyter notebook and a requirements file for the package dependencies discussed in this chapter are available at https://github.com/PacktPublishing/Deep-Learning-and-XAI-Techniques-for-Anomaly-Detection/tree/main/Chapter6.

You can experiment with this example on Amazon SageMaker Studio Lab, https://aws...