© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
S. K. Adari, S. AllaBeginning Anomaly Detection Using Python-Based Deep Learninghttps://doi.org/10.1007/979-8-8688-0008-5_10

10. Transformers

Suman Kalyan Adari1   and Sridhar Alla2
(1)
Tampa, FL, USA
(2)
Delran, NJ, USA
 

In this chapter, you will learn about transformer networks and how you can implement anomaly detection using a transformer.

In a nutshell, this chapter covers the following topics:
  • What is a transformer?

  • Anomaly detection with transformers

Note

Code examples are provided in Python 3.8. The code repository for this book is available at https://github.com/apress/beginning-anomaly-detection-python-deep-learning-2e/tree/master.

The repository also includes ...

Get Beginning Anomaly Detection Using Python-Based Deep Learning: Implement Anomaly Detection Applications with Keras and PyTorch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.