MCPcopy Index your code

hub / github.com/yzhao062/pyod / types & classes

Types & classes300 in github.com/yzhao062/pyod

↓ 63 callersClassADEngine
Anomaly detection lifecycle engine. Parameters ---------- knowledge_dir : str or None Path to knowledge base directory. If None,
pyod/utils/ad_engine.py:49
↓ 37 callersClassLOF
Wrapper of scikit-learn LOF Class with more functionalities. Unsupervised Outlier Detection using Local Outlier Factor (LOF). The anomaly sco
pyod/models/lof.py:19
↓ 35 callersClassEmbeddingOD
Anomaly detection on raw data via embedding + detector pipeline. Chains any embedding encoder with any PyOD detector. Encode raw data (text,
pyod/models/embedding.py:98
↓ 35 callersClassKNN
kNN class for outlier detection. For an observation, its distance to its kth nearest neighbor could be viewed as the outlying score. It could
pyod/models/knn.py:23
↓ 18 callersClassSOD
Subspace outlier detection (SOD) schema aims to detect outlier in varying subspaces of a high dimensional feature space. For each data object,
pyod/models/sod.py:43
↓ 15 callersClassIForest
Wrapper of scikit-learn Isolation Forest with more functionalities. The IsolationForest 'isolates' observations by randomly selecting a featu
pyod/models/iforest.py:49
↓ 15 callersClassKPCA
KPCA class for outlier detection. PCA is performed on the feature space uniquely determined by the kernel, and the reconstruction error on th
pyod/models/kpca.py:65
↓ 15 callersClassLUNAR
LUNAR class for outlier detection. See https://www.aaai.org/AAAI22Papers/AAAI-51.GoodgeA.pdf for details. For an observation, its ordered lis
pyod/models/lunar.py:111
↓ 15 callersClassMultiModalOD
Multi-modal anomaly detection via score fusion. Runs a separate detector per modality and combines their anomaly scores. Each modality can us
pyod/models/embedding.py:497
↓ 14 callersClassCOPOD
COPOD class for Copula Based Outlier Detector. COPOD is a parameter-free, highly interpretable outlier detection algorithm based on empirical
pyod/models/copod.py:52
↓ 14 callersClassMultiModalEncoder
Encode multiple modalities and concatenate into a single embedding. Each modality is encoded by its own encoder. The resulting embeddings are
pyod/utils/encoders/__init__.py:95
↓ 12 callersClassHBOS
Histogram- based outlier detection (HBOS) is an efficient unsupervised method. It assumes the feature independence and calculates the degree o
pyod/models/hbos.py:19
↓ 12 callersClassTorchDataset
pyod/utils/torch_utility.py:11
↓ 11 callersClassCOF
Connectivity-Based Outlier Factor (COF) COF uses the ratio of average chaining distance of data point and the average of average chaining dist
pyod/models/cof.py:20
↓ 11 callersClassDummyDetector
pyod/test/test_base_dl.py:42
↓ 11 callersClassECOD
ECOD class for Unsupervised Outlier Detection Using Empirical Cumulative Distribution Functions (ECOD) ECOD is a parameter-free, highly interp
pyod/models/ecod.py:53
↓ 11 callersClassLMDD
Linear Method for Deviation-based Outlier Detection. LMDD employs the concept of the smoothing factor which indicates how much the dissimilar
pyod/models/lmdd.py:51
↓ 10 callersClassSCAN
SCAN: Structural Clustering Algorithm for Networks. Implements the full SCAN procedure: computes structural similarity ``sigma(u,v) = |N[u
pyod/models/pyg_scan.py:25
↓ 10 callersClassSampling
Sampling class for outlier detection. Sugiyama, M., Borgwardt, K. M.: Rapid Distance-Based Outlier Detection via Sampling, Advances in Neural
pyod/models/sampling.py:22
↓ 10 callersClassTimeSeriesOD
Windowed bridge that wraps any PyOD detector for time series anomaly detection. Takes a time series, creates sliding windows, runs any PyOD d
pyod/models/ts_od.py:21
↓ 9 callersClassABOD
ABOD class for Angle-base Outlier Detection. For an observation, the variance of its weighted cosine scores to all neighbors could be viewed a
pyod/models/abod.py:90
↓ 9 callersClassLinearBlock
pyod/models/dif.py:335
↓ 8 callersClassCallableEncoder
Encoder that wraps a user-provided callable. Parameters ---------- fn : callable A function that accepts raw input and returns a
pyod/utils/encoders/__init__.py:67
↓ 8 callersClassGUIDE
GUIDE: Higher-order Structure Based Anomaly Detection. Constructs a motif adjacency from triangle participation (binarized in v1: edges in
pyod/models/pyg_guide.py:25
↓ 8 callersClassKShape
k-Shape clustering-based time series anomaly detector. Extracts sliding-window subsequences, clusters them using the k-Shape algorithm (shape
pyod/models/ts_kshape.py:231
↓ 8 callersClassLODA
Loda: Lightweight on-line detector of anomalies. See :cite:`pevny2016loda` for more information. Two versions of LODA are supported:
pyod/models/loda.py:19
↓ 7 callersClassANOMALOUS
ANOMALOUS: Joint Modeling for Anomaly Detection. CUR-style decomposition: ``min_{W,R} ||X - XWX - R||_F^2 + alpha * ||W||_F^2 + lambda_r *
pyod/models/pyg_anomalous.py:26
↓ 7 callersClassAnomalyDAE
AnomalyDAE: Dual Autoencoder for Anomaly Detection. Uses GATConv for structure encoding and an MLP for attribute encoding. Reconstructs ad
pyod/models/pyg_anomalydae.py:24
↓ 7 callersClassAudioFeatureEncoder
Handcrafted acoustic-feature encoder (librosa, no GPU). Each audio clip becomes a 74-dimensional vector: 20 MFCC, 12 chroma, and 5 spectral d
pyod/utils/encoders/audio.py:74
↓ 7 callersClassDOMINANT
DOMINANT: Deep Anomaly Detection on Attributed Networks. GCN encoder maps nodes to embeddings. Structure decoder reconstructs adjacency vi
pyod/models/pyg_dominant.py:24
↓ 7 callersClassMAD
Median Absolute Deviation: for measuring the distances between data points and the median in terms of median distance. See :cite:`iglewicz1993
pyod/models/mad.py:38
↓ 7 callersClassMatrixProfile
Matrix Profile time series anomaly detector using STOMP. Computes the Matrix Profile via the STOMP algorithm, identifying anomalous subsequen
pyod/models/ts_matrix_profile.py:171
↓ 7 callersClassRadar
Radar: Residual Analysis for Anomaly Detection. Solves ``min_{W,R} ||X - WX - R||_F^2 + alpha * ||W||_F^2 + gamma * (||R||_{2,1} + tr(R^T
pyod/models/pyg_radar.py:26
↓ 6 callersClassCONAD
CONAD: Contrastive + Reconstruction Anomaly Detection. Constructs an anomalous view via attribute swapping and random edge injection, enco
pyod/models/pyg_conad.py:27
↓ 6 callersClassCoLA
CoLA: Contrastive Anomaly Detection on Attributed Networks. GCN encoder maps nodes to embeddings. A bilinear discriminator scores how well
pyod/models/pyg_cola.py:26
↓ 6 callersClassDummy1
pyod/test/test_base.py:100
↓ 6 callersClassKDE
KDE class for outlier detection. For an observation, its negative log probability density could be viewed as the outlying score. See :ci
pyod/models/kde.py:18
↓ 6 callersClassOCSVM
Wrapper of scikit-learn one-class SVM Class with more functionalities. Unsupervised Outlier Detection. Estimate the support of a high-dimensi
pyod/models/ocsvm.py:16
↓ 6 callersClassROD
Rotation-based Outlier Detection (ROD), is a robust and parameter-free algorithm that requires no statistical distribution assumptions and wor
pyod/models/rod.py:329
↓ 6 callersClassRoutingParseError
Raised when :func:`parse_routing_response` cannot extract a plan. The engine catches this and falls back to rule-driven routing unless the en
pyod/utils/_llm.py:57
↓ 6 callersClassSAND
SAND streaming anomaly detector for time series. Extracts z-normalized sliding-window subsequences, initializes k centroids via k-Shape on th
pyod/models/ts_sand.py:27
↓ 6 callersClassSpectralResidual
Spectral Residual anomaly detector for time series. Computes a saliency map via the spectral residual of the log-amplitude spectrum. This is
pyod/models/ts_spectral_residual.py:20
↓ 6 callersClassVAE
Variational auto encoder Encoder maps X onto a latent space Z Decoder samples Z from N(0,1) VAE_loss = Reconstruction_loss + KL_loss
pyod/models/vae.py:82
↓ 5 callersClassAutoEncoder
Auto Encoder (AE) is a type of neural networks for learning useful data representations in an unsupervised manner. Similar to PCA, AE could b
pyod/models/auto_encoder.py:20
↓ 5 callersClassCD
Cook's distance can be used to identify points that negatively affect a regression model. A combination of each observation’s leverage a
pyod/models/cd.py:118
↓ 5 callersClassDIF
Deep Isolation Forest (DIF) is an extension of iForest. It uses deep representation ensemble to achieve non-linear isolation on original data
pyod/models/dif.py:27
↓ 5 callersClassGMM
Wrapper of scikit-learn Gaussian Mixture Model with more functionalities. Unsupervised Outlier Detection. See :cite:`aggarwal2015outlier` Cha
pyod/models/gmm.py:17
↓ 5 callersClassPCA
Principal component analysis (PCA) can be used in detecting outliers. PCA is a linear dimensionality reduction using Singular Value Decomposition
pyod/models/pca.py:19
↓ 4 callersClassALAD
Adversarially Learned Anomaly Detection (ALAD). Paper: https://arxiv.org/pdf/1812.02288.pdf See :cite:`zenati2018adversarially` for details.
pyod/models/alad.py:28
↓ 4 callersClassCBLOF
r"""The CBLOF operator calculates the outlier score based on cluster-based local outlier factor. CBLOF takes as an input the data set and the
pyod/models/cblof.py:25
↓ 4 callersClassFeatureBagging
A feature bagging detector is a meta estimator that fits a number of base detectors on various sub-samples of the dataset and use averaging o
pyod/models/feature_bagging.py:84
↓ 4 callersClassINNE
Isolation-based anomaly detection using nearest-neighbor ensembles. The INNE algorithm uses the nearest neighbour ensemble to isolate anomal
pyod/models/inne.py:23
↓ 4 callersClassK
pyod/test/test_base.py:44
↓ 4 callersClassLSTMAD
LSTM-based anomaly detector for time series. Trains a stacked LSTM to predict the next timestep, then scores each timestamp by the Mahalanobi
pyod/models/ts_lstm.py:20
↓ 4 callersClassMCD
Detecting outliers in a Gaussian distributed dataset using Minimum Covariance Determinant (MCD): robust estimator of covariance. The Minimum
pyod/models/mcd.py:17
↓ 4 callersClassQMCD
The Wrap-around Quasi-Monte Carlo discrepancy is a uniformity criterion which is used to assess the space filling of a number of samples in a
pyod/models/qmcd.py:43
↓ 4 callersClassSUOD
SUOD (Scalable Unsupervised Outlier Detection) is an acceleration framework for large scale unsupervised outlier detector training and predict
pyod/models/suod.py:32
↓ 4 callersClass_NLPattern
A pattern that matches user feedback and produces a structured action.
pyod/utils/_nl_feedback.py:318
↓ 3 callersClassAnomalyTransformer
Anomaly Transformer for time series anomaly detection. Implements the Anomaly Transformer (Xu et al., ICLR 2022), a Transformer-based archite
pyod/models/ts_anomaly_transformer.py:394
↓ 3 callersClassAudioAE
Log-mel reconstruction autoencoder for audio anomaly detection. The detector extracts overlapping log-mel context windows from each clip, fit
pyod/models/audio_ae.py:44
↓ 3 callersClassDeepSVDD
Deep One-Class Classifier with AutoEncoder (AE) is a type of neural networks for learning useful data representations in an unsupervised way.
pyod/models/deep_svdd.py:146
↓ 3 callersClassLSCP
Locally Selection Combination in Parallel Outlier Ensembles LSCP is an unsupervised parallel outlier detection ensemble which selects compet
pyod/models/lscp.py:28
↓ 3 callersClassMO_GAAL
Multi-Objective Generative Adversarial Active Learning. MO_GAAL directly generates informative potential outliers to assist the classifier in
pyod/models/mo_gaal.py:30
↓ 3 callersClassOpenAIEncoder
Encoder using OpenAI Embeddings API. Produces text embeddings via the OpenAI API. Handles batching (max 2048 items per request) internally.
pyod/utils/encoders/openai_encoder.py:20
↓ 3 callersClassSOS
Stochastic Outlier Selection. SOS employs the concept of affinity to quantify the relationship from one data point to another data point.
pyod/models/sos.py:39
↓ 3 callersClassT
pyod/test/test_base.py:57
↓ 2 callersClassAE1SVM
Auto Encoder with One-class SVM for anomaly detection. Note: self.device is needed or all tensors may not be on the same device (if device w/
pyod/models/ae1svm.py:177
↓ 2 callersClassDevNet
pyod/models/devnet.py:209
↓ 2 callersClassDummyUnchangeModel
pyod/test/test_base_dl.py:33
↓ 2 callersClassHDBSCAN
Wrapper of scikit-learn HDBSCAN for outlier detection. HDBSCAN (Hierarchical Density-Based Spatial Clustering of Applications with Noise) per
pyod/models/hdbscan.py:15
↓ 2 callersClassInvestigationState
Typed state object for an ADEngine investigation session. Tracks the full workflow: profiling, planning, detection, analysis, and iteration.
pyod/utils/investigation.py:23
↓ 2 callersClassKnowledgeBase
Loader and accessor for PyOD's structured knowledge base. Reads JSON files from the knowledge directory and provides query methods for algori
pyod/utils/knowledge/__init__.py:14
↓ 2 callersClassLOCI
Local Correlation Integral. LOCI is highly effective for detecting outliers and groups of outliers ( a.k.a.micro-clusters), which offers
pyod/models/loci.py:81
↓ 2 callersClassLinearBlock
Linear block with activation and batch normalization Parameters ---------- in_features : int Number of input features
pyod/utils/torch_utility.py:49
↓ 2 callersClassMyEstimator
pyod/test/test_base.py:30
↓ 2 callersClassNoRefitRegressor
pyod/test/test_cd.py:138
↓ 2 callersClassRGraph
Outlier Detection via R-graph. Paper: https://openaccess.thecvf.com/content_cvpr_2017/papers/You_Provable_Self-Representation_Based_CVPR_2017_pap
pyod/models/rgraph.py:22
↓ 2 callersClassSO_GAAL
Single-Objective Generative Adversarial Active Learning. SO-GAAL directly generates informative potential outliers to assist the classifier i
pyod/models/so_gaal.py:59
↓ 2 callersClassSO_GAAL
Single-Objective Generative Adversarial Active Learning. SO-GAAL directly generates informative potential outliers to assist the classifier i
pyod/models/so_gaal_new.py:25
↓ 2 callersClassSentenceTransformerEncoder
Encoder using sentence-transformers library. Wraps ``sentence_transformers.SentenceTransformer`` to produce text embeddings compatible with P
pyod/utils/encoders/sentence_transformer.py:14
↓ 2 callersClassXGBOD
r"""XGBOD class for outlier detection. It first uses the passed in unsupervised outlier detectors to extract richer representation of the data
pyod/models/xgbod.py:35
↓ 1 callersClassAnoGAN
Anomaly Detection with Generative Adversarial Networks (AnoGAN). See the original paper "Unsupervised anomaly detection with generative adver
pyod/models/anogan.py:104
↓ 1 callersClassAutoEncoderModel
pyod/models/auto_encoder.py:175
↓ 1 callersClassAutoModelSelector
pyod/utils/auto_model_selector.py:97
↓ 1 callersClassBaseEncoder
Abstract base class for embedding encoders. All encoders must implement the ``encode`` method, which converts raw input data to a 2D numpy ar
pyod/utils/encoders/__init__.py:17
↓ 1 callersClassDevNetD
pyod/models/devnet.py:31
↓ 1 callersClassDevNetLinear
pyod/models/devnet.py:59
↓ 1 callersClassDevNetS
pyod/models/devnet.py:47
↓ 1 callersClassDiscriminator
pyod/models/so_gaal.py:43
↓ 1 callersClassDiscriminator
pyod/models/anogan.py:63
↓ 1 callersClassDiscriminator
pyod/models/so_gaal_new.py:158
↓ 1 callersClassDiscriminator
pyod/models/gaal_base.py:37
↓ 1 callersClassDummy2
pyod/test/test_base.py:111
↓ 1 callersClassDummy3
pyod/test/test_base.py:122
↓ 1 callersClassDummyDetector2
pyod/test/test_base_dl.py:73
↓ 1 callersClassDummyLoss
pyod/test/test_base_dl.py:25
↓ 1 callersClassDummyNegativeModel
pyod/test/test_utility.py:279
↓ 1 callersClassDummyPostiveModel
pyod/test/test_utility.py:286
↓ 1 callersClassGenerator
pyod/models/so_gaal.py:29
↓ 1 callersClassGenerator
pyod/models/anogan.py:31
next →1–100 of 300, ranked by callers