For a toolkit for anomaly detection, the strongest matches are numenta/nupic (NuPIC is a machine learning framework built for real-time), sktime/sktime (sktime is a dedicated time series machine learning framework) and yzhao062/pyod (PyOD is a dedicated Python library for anomaly detection). unit8co/darts and online-ml/river round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Open-source machine learning frameworks and algorithms designed to identify fraudulent transactions and anomalous data patterns.
NuPIC is a machine learning framework that implements Hierarchical Temporal Memory (HTM) theory, a neuroscience-inspired approach to artificial intelligence. It models principles of the neocortex to build systems capable of learning patterns from streaming data, performing sequence prediction, and detecting anomalies in real-time data streams. The framework is built around a Cortical Learning Algorithm that combines spatial pooling and temporal memory to process streaming input. It uses Sparse Distributed Representations to encode input patterns, a Spatial Pooler to convert dense input into s
NuPIC is a machine learning framework built for real-time anomaly detection in streaming time-series data using Hierarchical Temporal Memory, which matches the core need for anomaly detection toolkits; however, it does not provide supervised fraud detection models or direct integration with scikit-learn/PyTorch/TensorFlow.
sktime is a machine learning framework for time series analysis. It provides a unified toolkit for implementing time series classification, forecasting, and anomaly detection using standardized machine learning interfaces. The library serves as a collection of tools for assigning categorical labels to temporal sequences, predicting future values based on historical patterns, and identifying outliers or unusual patterns within temporal data. The framework includes capabilities for panel-data handling and pipeline-based transformations. It utilizes a unified API wrapper and plugin-based model
sktime is a dedicated time series machine learning framework that includes anomaly detection capabilities, making it a valid anomaly detection toolkit—but it is limited to time-series data and lacks explicit fraud detection models, class imbalance handling, and interpretability features, so it covers only part of what you need.
PyOD is a Python anomaly detection library used to identify outliers in tabular, time series, graph, text, and image data. It provides a collection of algorithms for detecting anomalous data points and includes a unified detector interface that standardizes input and output signatures across its available detection algorithms. The project features a multi-modal outlier detector for identifying anomalies across diverse formats including unstructured text and images, as well as a specialized toolkit for graph-based and time-series anomaly detection. It includes an ensemble framework for combini
PyOD is a dedicated Python library for anomaly detection with a broad collection of algorithms spanning tabular, time-series, graph, and image data, making it a strong fit for building anomaly detection models, though it may have limited built-in support for real-time scoring and dedicated model interpretability.
Darts is a Python time series library designed for forecasting, anomaly detection, and the preprocessing of univariate and multivariate temporal data. It serves as a comprehensive framework for training and evaluating a wide range of statistical, machine learning, and deep learning models to predict future numerical values. The toolkit is distinguished by its support for global time series modeling, allowing a single model to be trained across multiple different series to leverage shared patterns. It also features a hierarchical time series manager to ensure consistency between aggregate and
Darts is a Python library for time-series forecasting and anomaly detection, making it a solid fit for time-series anomaly detection tasks, though it is less tailored for general fraud detection with supervised models and class imbalance handling.
River is a Python framework for online machine learning, designed to train and evaluate models on streaming data. It enables incremental learning by updating model parameters one observation at a time, eliminating the need to store full training datasets in memory. The library distinguishes itself through a dedicated concept drift detection system that monitors changes in data distributions to trigger model adaptation. It also provides a progressive validation framework that simulates real-time deployment by testing models on samples before using them for training. The system covers a broad
River is an online machine learning framework designed for streaming data with built-in anomaly detection algorithms and concept drift detection, making it a suitable toolkit for building fraud detection models that require real-time learning, though it is not exclusively focused on fraud detection.
Anomalib is a PyTorch-based library for visual anomaly detection, offering a modular framework, a comprehensive model zoo, and a benchmarking suite designed for industrial defect detection. It provides a wide range of algorithms—including generative, discriminative, teacher-student, and vision-language approaches—that support unsupervised, few-shot, and zero-shot settings. The library enables deployment through model export to ONNX and OpenVINO for edge devices, and includes a no-code web application for training and inference. It also features a command-line interface for orchestrating multi
Anomalib is a PyTorch-based visual anomaly detection library with unsupervised algorithms and edge deployment support, but it focuses on industrial defect detection rather than fraud detection and lacks the time-series or interpretability features you listed.
sktime is a machine learning framework designed for time series analysis. It provides a unified interface for performing time series forecasting, classification, and anomaly detection, integrating these capabilities into a standardized toolkit compatible with the scikit-learn API. The framework allows for the construction of complex analysis workflows through model pipelining and ensemble-based aggregation. It uses adapter-based integration to wrap external time series libraries, providing a single entry point for diverse algorithmic implementations. Its capabilities cover temporal data tran
sktime is a time series machine learning framework that includes anomaly detection capabilities and is compatible with the scikit-learn API, making it a relevant toolkit for anomaly detection tasks, though it is not specifically tailored for fraud detection and lacks dedicated supervised fraud models or deep learning framework integration.
imbalanced-learn is a dataset balancing framework and Python machine learning extension designed to resample training data and reduce the impact of class imbalance. It provides a toolkit of algorithms for adjusting class distributions to improve model performance on minority class prediction. As a scikit-learn resampling library, it extends the ecosystem with specialized tools for balancing datasets through over-sampling and under-sampling techniques. This allows for the correction of skewed class proportions to reduce model bias toward the majority class. The library implements the scikit-l
imbalanced-learn is a Python library for resampling imbalanced datasets, which is a common preprocessing step in fraud and anomaly detection, but it does not provide any anomaly or fraud detection algorithms itself—it only addresses class imbalance, not detection modeling or the other features you need like unsupervised detection, interpretability, or real-time scoring.
TimesFM is a time series foundation model designed to generalize across diverse temporal datasets for forecasting and anomaly detection. It functions as a pretrained model for predicting future values in univariate time series data, eliminating the need for manual training from scratch. The project includes a framework for adapting pretrained weights to specific datasets using low-rank adaptation to improve accuracy. It also provides specialized capabilities for integrating time-series predictions as tools within autonomous AI agent architectures and automated workflows. The system supports
TimesFM is a time series foundation model for forecasting and anomaly detection, not a general-purpose ML toolkit for building fraud or anomaly detection models — it is a specialized pretrained model rather than a framework you would use to develop custom detection pipelines.
Kats is a time series analysis framework and library providing tools for statistical characterization, anomaly detection, and trend forecasting. It functions as a toolkit for predicting future values based on historical data and identifying irregular patterns or structural change points within temporal sequences. The project includes a temporal feature extraction tool to calculate descriptive statistics and characteristics that summarize time series behavior. It also provides a system for model hyperparameter tuning using self-supervised learning to improve the scale and generalization of pre
facebookresearch/kats is a time-series analysis framework with built-in anomaly detection, but it specializes in temporal patterns and does not include supervised fraud detection models, class imbalance handling, or integrations with scikit-learn/PyTorch/TensorFlow, so it only partially covers the fraud detection side of your search.
Skorch is a deep learning workflow manager and tensor-based model interface. It provides a consistent API for training and predicting with neural networks within standard machine learning workflows, acting as a hyperparameter optimizer for finding optimal network configurations. The library specializes in wrapping PyTorch neural networks in a scikit-learn compatible interface. This allows tensor-based models to be used within traditional machine learning pipelines and grid search tools, including the mapping of parameter grids to model configurations. The framework covers training lifecycle
Skorch is a general-purpose wrapper for using PyTorch models with scikit-learn interfaces, not a specialized toolkit for anomaly or fraud detection, and lacks built-in algorithms, imbalance handling, or streaming support.
This PyTorch-based deep learning library provides a framework for analyzing and forecasting temporal data. It implements specialized architectures for time series forecasting, anomaly detection, data imputation, and classification. The project distinguishes itself through the inclusion of zero-shot inference capabilities, allowing large-scale temporal models to be evaluated on unseen datasets without requiring task-specific fine-tuning. The framework covers a broad range of analytical capabilities, including the recovery of missing values in incomplete datasets, the identification of irregul
This PyTorch library is primarily a time series analysis toolkit that includes anomaly detection among other tasks, making it relevant for time-series anomaly detection but not specifically built for fraud detection; it lacks dedicated fraud modeling, class imbalance handling, and interpretability features.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| numenta/nupic | 6.4K | Python | MIT | |
| sktime/sktime | 9.8K | Python | BSD-3-Clause | |
| yzhao062/pyod | 9.9K | Python | BSD-2-Clause | |
| unit8co/darts | 9.2K | Python | apache-2.0 | |
| online-ml/river | 5.9K | Python | BSD-3-Clause | |
| open-edge-platform/anomalib | 5.9K | Python | Apache-2.0 | |
| alan-turing-institute/sktime | 9.8K | Python | BSD-3-Clause | |
| scikit-learn-contrib/imbalanced-learn | 7.1K | Python | MIT | |
| google-research/timesfm | 8.6K | Python | apache-2.0 | |
| facebookresearch/kats | 6.3K | Python | MIT |