PyOD: Python Outlier Detection Toolbox

PyOD is the most popular detection toolbox with more than 1,900 GitHub stars and 55,000 downloads on PyPI. Its accompanied paper will appear in Journal of Machine Learning Research (JMLR) soon (minor revisions).

PyOD is a comprehensive and efficient Python toolkit to identify outlying objects in multivariate data. This exciting yet challenging field is commonly referred as Outlier Detection or Anomaly Detection. Since 2017, PyOD has been successfully used in various academic researches and commercial products. It is featured for:

  • Unified APIs, detailed documentation, and interactive examples across various algorithms.
  • Advanced models, including Neural Networks/Deep Learning and Outlier Ensembles.
  • Optimized performance with JIT and parallelization when possible, using numba and joblib.
  • Compatible with both Python 2 & 3.

PyOD toolkit consists of three major groups of functionalities: (i) outlier detection algorithms; (ii) outlier ensemble frameworks and (iii) outlier detection utility functions. Comparison of all implemented models are made available below:

If you use PyOD in a scientific publication, we would appreciate citations to the following paper:

  title={PyOD: A Python Toolbox for Scalable Outlier Detection},
  author={Zhao, Yue and Nasrullah, Zain and Li, Zheng},
  journal={arXiv preprint arXiv:1901.01588},


Zhao, Y., Nasrullah, Z. and Li, Z., 2019. PyOD: A Python Toolbox for Scalable Outlier Detection. arXiv preprint, arXiv:1901.01588.