Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/yzhao062/pyod
/ functions
Functions
2,677 in github.com/yzhao062/pyod
⨍
Functions
2,677
◇
Types & classes
300
↳
Endpoints
4
Method
fit
(self, X, y=None)
pyod/test/test_base.py:118
Method
fit
(self, X, y=None)
pyod/test/test_base.py:129
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/sos.py:260
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/so_gaal.py:118
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/lscp.py:133
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/pca.py:203
Method
fit
Fit detector Parameters ---------- X : numpy array of shape (n_samples, n_features) The input samples. y
pyod/models/qmcd.py:80
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/mo_gaal.py:95
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/mad.py:76
Method
fit
Fit the model using X as training data. Parameters ---------- X : array, shape (n_samples, n_features) Tr
pyod/models/loci.py:215
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/base_dl.py:167
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/feature_bagging.py:206
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/hdbscan.py:100
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/dif.py:155
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/mcd.py:121
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/kpca.py:261
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/lmdd.py:120
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/kde.py:132
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/anogan.py:248
Method
fit
Fit the model to the data. Parameters ---------- X : numpy.ndarray Input data. y : None Igno
pyod/models/ae1svm.py:260
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/sampling.py:113
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/deep_svdd.py:271
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/cblof.py:149
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/suod.py:197
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/alad.py:337
Method
fit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/inne.py:92
Method
fit_negative
(self)
pyod/test/test_utility.py:280
Method
fit_predict
Fit detector first and then predict whether a particular sample is an outlier or not. y is ignored in unsupervised models. Parameters
pyod/models/base.py:113
Method
fit_predict_score
Fit the detector, predict on samples, and evaluate the model by predefined metrics, e.g., ROC. Parameters ----------
pyod/models/base.py:493
Method
fit_predict_score
Fit the detector with labels, predict on samples, and evaluate the model by predefined metrics. Parameters ----------
pyod/models/devnet.py:297
Method
forward
(self, x)
pyod/utils/torch_utility.py:142
Method
forward
(self, output, target)
pyod/test/test_base_dl.py:29
Method
forward
(self, x)
pyod/test/test_base_dl.py:38
Method
forward
(self, x)
pyod/models/so_gaal.py:37
Method
forward
(self, x)
pyod/models/so_gaal.py:53
Method
forward
(self, x, ei, x_aug, ei_aug)
pyod/models/pyg_conad.py:253
Method
forward
(self, x, ei_orig, ei_motif)
pyod/models/pyg_guide.py:233
Method
forward
(self, x, edge_index)
pyod/models/pyg_anomalydae.py:178
Method
forward
(self, x, edge_index)
pyod/models/pyg_dominant.py:158
Method
forward
(self, x)
pyod/models/vae.py:355
Method
forward
(self, x)
pyod/models/dif.py:318
Method
forward
(self, x)
pyod/models/dif.py:356
Method
forward
Parameters ---------- x : Tensor, shape (batch, seq_len, d_model) Returns ------- out : Tensor, shap
pyod/models/ts_anomaly_transformer.py:77
Method
forward
Returns ------- x : Tensor (B, L, d_model) series_assoc : Tensor (B, H, L, L) prior_assoc : Tensor (B, H, L,
pyod/models/ts_anomaly_transformer.py:147
Method
forward
Parameters ---------- x : Tensor, shape (batch, window_size, n_channels) Returns ------- reconstruct
pyod/models/ts_anomaly_transformer.py:208
Method
forward
(self, x)
pyod/models/auto_encoder.py:217
Method
forward
(self, x)
pyod/models/anogan.py:59
Method
forward
(self, x)
pyod/models/anogan.py:86
Method
forward
(self, query_sample)
pyod/models/anogan.py:97
Method
forward
Forward pass through the model. Parameters ---------- x : torch.Tensor Input data. Returns -----
pyod/models/ae1svm.py:106
Method
forward
Forward pass to compute random Fourier features. Parameters ---------- x : torch.Tensor Input data. Retu
pyod/models/ae1svm.py:160
Method
forward
(self, x)
pyod/models/deep_svdd.py:142
Method
forward
(self, x)
pyod/models/so_gaal_new.py:152
Method
forward
(self, x)
pyod/models/so_gaal_new.py:173
Method
forward
(self, x)
pyod/models/devnet.py:39
Method
forward
(self, x)
pyod/models/devnet.py:53
Method
forward
(self, x)
pyod/models/devnet.py:64
Method
forward
(self, x)
pyod/models/gaal_base.py:48
Method
forward
(self, x)
pyod/models/gaal_base.py:79
Method
forward
(self, x)
pyod/models/lunar.py:77
Method
forward
(self, x)
pyod/models/lunar.py:99
Method
forward
(self, x)
pyod/models/ts_lstm.py:335
Method
get_activation
(name)
pyod/models/alad.py:192
Function
get_benchmarks
Get benchmark results (ADBench, NLP-ADBench, TSB-AD).
pyod/mcp_server.py:211
Method
get_centerer
Return a protected member _centerer.
pyod/models/kpca.py:55
Method
get_kernel
Return a protected member _get_kernel.
pyod/models/kpca.py:60
Function
hash_encoder
Toy encoder: hash-based random projection.
examples/embedding_od_example.py:70
Function
input_batch_generation_sup_sparse
Batch generation for samples, alternating between positive and negative. Adjusted for use with PyTorch, handling data in tensors.
pyod/models/devnet.py:157
Method
intercept_
Constant in the decision function. Decorator for scikit-learn One class SVM attributes.
pyod/models/ocsvm.py:227
Function
list_detectors
List available PyOD detectors. Args: data_type: Filter by data type (tabular, text, image, etc.). status: Filter by status (shipp
pyod/mcp_server.py:175
Method
load_build
(self)
pyod/utils/persistence.py:423
Method
location_
Estimated robust location. Decorator for scikit-learn MinCovDet attributes.
pyod/models/mcd.py:205
Function
loss_function
(output, target)
pyod/test/test_base_dl.py:21
Method
lower_bound_
Lower bound value on the log-likelihood of the best fit of EM. Decorator for scikit-learn Gaussian Mixture Model attributes.
pyod/models/gmm.py:278
Method
max_samples_
The actual number of samples. Decorator for scikit-learn Isolation Forest attributes.
pyod/models/iforest.py:264
Method
mean_
Per-feature empirical mean, estimated from the training set. Decorator for scikit-learn PCA attributes.
pyod/models/pca.py:334
Method
means_
The mean of each mixture component. Decorator for scikit-learn Gaussian Mixture Model attributes.
pyod/models/gmm.py:235
Method
mock_fn
(X)
pyod/test/test_encoders.py:28
Method
n_features_in_
The number of features seen during the fit. Decorator for scikit-learn Isolation Forest attributes.
pyod/models/iforest.py:278
Method
n_iter_
Number of step used by the best fit of EM to reach the convergence. Decorator for scikit-learn Gaussian Mixture Model attributes.
pyod/models/gmm.py:271
Method
n_neighbors_
The actual number of neighbors used for kneighbors queries. Decorator for scikit-learn LOF attributes.
pyod/models/lof.py:226
Method
noise_variance_
The estimated noise covariance following the Probabilistic PCA model from Tipping and Bishop 1999. See "Pattern Recognition and Machin
pyod/models/pca.py:342
Method
offset_
Offset used to define the decision function from the raw scores. Decorator for scikit-learn Isolation Forest attributes.
pyod/models/iforest.py:285
Method
papers
(self)
pyod/utils/knowledge/__init__.py:60
Function
plan_detection
Plan an anomaly detection pipeline. Returns a DetectionPlan with detector, params, reason, and evidence. Args: data_profile: JSON st
pyod/mcp_server.py:81
Method
plot_learning_curves
(self, start_ind=0, window_smoothening=10)
pyod/models/anogan.py:226
Method
precision_
Estimated pseudo inverse matrix. (stored only if store_precision is True) Decorator for scikit-learn MinCovDet attributes.
pyod/models/mcd.py:221
Method
precisions_
The precision matrices for each component in the mixture. Decorator for scikit-learn Gaussian Mixture Model attributes.
pyod/models/gmm.py:249
Method
precisions_cholesky_
The cholesky decomposition of the precision matrices of each mixture component. Decorator for scikit-learn Gaussian Mixture Model a
pyod/models/gmm.py:256
Method
predict_confidence
Not supported (transductive detector).
pyod/models/pyg_conad.py:183
Method
predict_confidence
Not supported (transductive detector).
pyod/models/pyg_guide.py:193
Method
predict_confidence
Not supported (transductive detector).
pyod/models/pyg_anomalydae.py:152
Method
predict_confidence
(self, X)
pyod/models/pyg_dominant.py:137
Method
predict_confidence
Not supported (transductive detector). Raises ------ NotImplementedError
pyod/models/ts_matrix_profile.py:334
Method
predict_confidence
Not supported (transductive detector).
pyod/models/pyg_radar.py:168
Method
predict_confidence
Not supported (transductive detector).
pyod/models/pyg_scan.py:211
Method
predict_confidence
Not supported (transductive detector).
pyod/models/pyg_anomalous.py:182
Method
predict_proba
Not supported (transductive detector).
pyod/models/pyg_cola.py:161
Method
predict_proba
Not supported (transductive detector).
pyod/models/pyg_conad.py:179
Method
predict_proba
Not supported (transductive detector).
pyod/models/pyg_guide.py:189
← previous
next →
801–900 of 2,677, ranked by callers