MCPcopy Create free account

hub / github.com/yzhao062/pyod / functions

Functions2,677 in github.com/yzhao062/pyod

↓ 2 callersMethodfit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/copod.py:92
↓ 2 callersMethodfit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/abod.py:177
↓ 2 callersMethodfit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/ecod.py:94
↓ 2 callersMethodfit
Fit the model using X and y as training data. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/xgbod.py:286
↓ 2 callersMethodfit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/knn.py:169
↓ 2 callersMethodfit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/iforest.py:184
↓ 2 callersMethodfit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/rod.py:383
↓ 2 callersFunctiongenerate_bagging_indices
Randomly draw feature indices. Internal use only. Modified from sklearn/ensemble/bagging.py Parameters ---------- random_state : Ra
pyod/utils/utility.py:471
↓ 2 callersFunctiongenerate_negative_samples
(x, sample_type, proportion, epsilon, random_state=None)
pyod/models/lunar.py:32
↓ 2 callersFunctionget_optimal_n_bins
Determine optimal number of bins for a histogram using the Birge Rozenblac method (see :cite:`birge2006many` for details.) See https:
pyod/utils/utility.py:552
↓ 2 callersFunctioninstall_cli
Console entry point for `pyod-install-skill` (legacy alias in v3.1.0+).
pyod/skills/__init__.py:199
↓ 2 callersFunctionlabel_metrics
Compute label-based validation metrics for one detector or consensus. Returns binary precision / recall / F1 (sklearn `'binary'` average,
pyod/utils/_quality_metrics.py:360
↓ 2 callersFunctionmad
Apply the robust median absolute deviation (MAD) to measure the inconsistency/variability of the rotation costs. Parameters ---------
pyod/models/rod.py:21
↓ 2 callersFunctionmedian
Combination method to merge the scores from multiple estimators by taking the median. Parameters ---------- scores : numpy array of s
pyod/models/combination.py:162
↓ 2 callersMethodmodel_auto_select
Selects the most suitable deep learning model based on the dataset tags and model analyses. Returns -------
pyod/utils/auto_model_selector.py:248
↓ 2 callersFunctionpearsonr_mat
Utility function to calculate pearson matrix (row-wise). Parameters ---------- mat : numpy array of shape (n_samples, n_features)
pyod/utils/stat_models.py:150
↓ 2 callersMethodpredict
Predict if a particular sample is an outlier or not. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/base.py:141
↓ 2 callersMethodpredict_confidence
Not supported (transductive detector).
pyod/models/pyg_cola.py:165
↓ 2 callersFunctionprint_metrics
Print compact hindsight metrics.
examples/agentic_hindsight_real_data.py:166
↓ 2 callersFunctionprocess_sub
Apply ROD on a 3D subSpace then process it with sigmoid to compare apples to apples Parameters ---------- subspace : array-like,
pyod/models/rod.py:228
↓ 2 callersFunctionread_arff
(file_path, misplaced_list)
examples/data/mat_file_conversion.py:27
↓ 2 callersFunctionresolve_detector
Resolve a detector from a string name or BaseDetector instance. Parameters ---------- detector : str or BaseDetector If string, c
pyod/models/embedding.py:54
↓ 2 callersFunctionscore_to_label
Turn raw outlier outlier scores to binary labels (0 or 1). Parameters ---------- pred_scores : list or numpy array of shape (n_samples,)
pyod/utils/utility.py:173
↓ 2 callersFunctionsigmoid
Implementation of Sigmoid function Parameters ---------- x : array-like, decision scores Returns ------- array-like, x
pyod/models/rod.py:213
↓ 2 callersFunctionskew
(X, axis=0)
pyod/models/copod.py:21
↓ 2 callersMethodtrain
Train the deep learning model. Parameters ---------- train_loader : torch.utils.data.DataLoader The data loader f
pyod/models/base_dl.py:221
↓ 2 callersMethodtrain_step
(self, data)
pyod/models/alad.py:261
↓ 1 callersFunctionAUCP
AUCP class for Area Under Curve Precentage thresholder. Use the area under the curve to evaluate a non-parametric means to threshold sc
pyod/models/thresholds.py:1
↓ 1 callersFunctionBOOT
BOOT class for Bootstrapping thresholder. Use a boostrapping based method to find a non-parametric means to threshold scores generated
pyod/models/thresholds.py:21
↓ 1 callersFunctionCHAU
CHAU class for Chauvenet's criterion thresholder. Use the Chauvenet's criterion to evaluate a non-parametric means to threshold scores
pyod/models/thresholds.py:40
↓ 1 callersFunctionCLF
CLF class for Trained Classifier thresholder. Use the trained linear classifier to evaluate a non-parametric means to threshold scores
pyod/models/thresholds.py:67
↓ 1 callersFunctionCLUST
CLUST class for clustering type thresholders. Use the clustering methods to evaluate a non-parametric means to threshold scores generat
pyod/models/thresholds.py:92
↓ 1 callersFunctionCPD
CPD class for Change Point Detection thresholder. Use change point detection to find a non-parametric means to threshold scores generat
pyod/models/thresholds.py:129
↓ 1 callersFunctionDECOMP
DECOMP class for Decomposition based thresholders. Use decomposition to evaluate a non-parametric means to threshold scores generated b
pyod/models/thresholds.py:163
↓ 1 callersFunctionDSN
DSN class for Distance Shift from Normal thresholder. Use the distance shift from normal to evaluate a non-parametric means to threshol
pyod/models/thresholds.py:192
↓ 1 callersFunctionEB
EB class for Elliptical Boundary thresholder. Use pseudo-random elliptical boundaries to evaluate a non-parametric means to threshold s
pyod/models/thresholds.py:230
↓ 1 callersFunctionFGD
FGD class for Fixed Gradient Descent thresholder. Use the fixed gradient descent to evaluate a non-parametric means to threshold scores
pyod/models/thresholds.py:250
↓ 1 callersFunctionFWFM
FWFM class for Full Width at Full Minimum thresholder. Use the full width at full minimum (aka base width) to evaluate a non-parametric
pyod/models/thresholds.py:315
↓ 1 callersFunctionGAMGMM
GAMGMM class for gammaGMM thresholder. Use a Bayesian method for estimating the posterior distribution of the contamination factor (i.e
pyod/models/thresholds.py:335
↓ 1 callersFunctionGESD
GESD class for Generalized Extreme Studentized Deviate thresholder. Use the generalized extreme studentized deviate to evaluate a non-p
pyod/models/thresholds.py:387
↓ 1 callersFunctionHIST
HIST class for Histogram based thresholders. Use histograms methods as described in scikit-image.filters to evaluate a non-parametric m
pyod/models/thresholds.py:414
↓ 1 callersFunctionIQR
IQR class for Inter-Qaurtile Region thresholder. Use the inter-quartile region to evaluate a non-parametric means to threshold scores g
pyod/models/thresholds.py:447
↓ 1 callersFunctionKARCH
KARCH class for Riemannian Center of Mass thresholder. Use the Karcher mean (Riemannian Center of Mass) to evaluate a non-parametric me
pyod/models/thresholds.py:467
↓ 1 callersFunctionMAD
MAD class for Median Absolute Deviation thresholder. Use the median absolute deviation to evaluate a non-parametric means to threshold
pyod/models/thresholds.py:496
↓ 1 callersFunctionMCST
MCST class for Monte Carlo Shapiro Tests thresholder. Use uniform random sampling and statstical testing to evaluate a non-parametric m
pyod/models/thresholds.py:520
↓ 1 callersFunctionMIXMOD
MIXMOD class for the Normal & Non-Normal Mixture Models thresholder. Use normal & non-normal mixture models to find a non-parametric means
pyod/models/thresholds.py:569
↓ 1 callersFunctionMOLL
MOLL class for Friedrichs' mollifier thresholder. Use the Friedrichs' mollifier to evaluate a non-parametric means to threshold scores
pyod/models/thresholds.py:603
↓ 1 callersFunctionMTT
MTT class for Modified Thompson Tau test thresholder. Use the modified Thompson Tau test to evaluate a non-parametric means to threshol
pyod/models/thresholds.py:622
↓ 1 callersFunctionOCSVM
OCSVM class for One-Class Support Vector Machine thresholder. Use a one-class svm to evaluate a non-parametric means to threshold score
pyod/models/thresholds.py:643
↓ 1 callersFunctionQMCD
QMCD class for Quasi-Monte Carlo Discreprancy thresholder. Use the quasi-Monte Carlo discreprancy to evaluate a non-parametric means to
pyod/models/thresholds.py:693
↓ 1 callersFunctionREGR
REGR class for Regression based thresholder. Use the regression to evaluate a non-parametric means to threshold scores generated by the
pyod/models/thresholds.py:730
↓ 1 callersFunctionVAE
VAE class for Variational AutoEncoder thresholder. Use a VAE to evaluate a non-parametric means to threshold scores generated by the de
pyod/models/thresholds.py:755
↓ 1 callersFunctionWIND
WIND class for topological Winding number thresholder. Use the topological winding number (with respect to the origin) to evaluate a no
pyod/models/thresholds.py:802
↓ 1 callersFunctionYJ
YJ class for Yeo-Johnson transformation thresholder. Use the Yeo-Johnson transformation to evaluate a non-parametric means to threshold
pyod/models/thresholds.py:822
↓ 1 callersFunctionZSCORE
ZSCORE class for ZSCORE thresholder. Use the zscore to evaluate a non-parametric means to threshold scores generated by the decision_sc
pyod/models/thresholds.py:842
↓ 1 callersFunction_AnomalyDAEModel
Factory: returns a torch.nn.Module for the AnomalyDAE.
pyod/models/pyg_anomalydae.py:157
↓ 1 callersFunction_CONADModel
Factory: returns torch.nn.Module for CONAD.
pyod/models/pyg_conad.py:227
↓ 1 callersFunction_CoLAModel
Factory: returns a torch.nn.Module for CoLA. Uses local-context contrastive learning: a GCN encoder produces node embeddings, and a biline
pyod/models/pyg_cola.py:170
↓ 1 callersFunction_Cooks_dist
Calculated the Cook's distance Parameters ---------- X : numpy array of shape (n_samples, n_features) The training dataset.
pyod/models/cd.py:17
↓ 1 callersFunction_DOMINANTModel
Factory: returns a torch.nn.Module for the DOMINANT AE.
pyod/models/pyg_dominant.py:142
↓ 1 callersFunction_GUIDEModel
Factory: returns torch.nn.Module for GUIDE dual AE.
pyod/models/pyg_guide.py:198
↓ 1 callersFunction__f
(f)
pyod/utils/data.py:618
↓ 1 callersMethod__init__
(self, hidden_dim=64, num_layers=2, epochs=100, lr=1e-3, contamination=0.1)
pyod/models/pyg_cola.py:60
↓ 1 callersMethod__init__
(self, hidden_dim=64, num_layers=2, aug_ratio=0.2, alpha=0.5, dropout=0.3, epochs=100, lr=1e
pyod/models/pyg_conad.py:70
↓ 1 callersMethod__init__
(self, hidden_dim=64, num_layers=2, alpha=0.5, dropout=0.3, epochs=100, lr=5e-3,
pyod/models/pyg_guide.py:65
↓ 1 callersMethod__init__
(self)
pyod/models/pyg_anomalydae.py:164
↓ 1 callersMethod__init__
(self)
pyod/models/pyg_dominant.py:149
↓ 1 callersMethod__init__
(self, contamination=0.1, preprocessing=True, lr=1e-3, epoch_num=30, batch_size=32,
pyod/models/vae.py:219
↓ 1 callersMethod__init__
(self, contamination=0.1, preprocessing=True, lr=1e-3, epoch_num=10, batch_s
pyod/models/auto_encoder.py:120
↓ 1 callersMethod__init__
( self, contamination=0.1, n_components=None, n_selected_compo
pyod/models/kpca.py:199
↓ 1 callersMethod__init__
(self, n_features, c=None, use_ae=False, hidden_neurons=None, hidden_activation='relu',
pyod/models/deep_svdd.py:239
↓ 1 callersMethod__init__
(self, encoder, detector='LUNAR', contamination=0.1, batch_size=32, cache_embeddings=False,
pyod/models/embedding.py:193
↓ 1 callersMethod__init__
(self, latent_size)
pyod/models/gaal_base.py:72
↓ 1 callersMethod__init__
(self, window_size=50, hidden_size=64, n_layers=2, epochs=50, lr=1e-3, batch_size=32, contami
pyod/models/ts_lstm.py:80
↓ 1 callersMethod__sf
Internal function to calculate for Smoothing Factors of data points Repeated n_iter_ of times in randomized mode.
pyod/models/lmdd.py:187
↓ 1 callersFunction_all_skill_files
()
pyod/test/test_skill_api_refs.py:206
↓ 1 callersMethod_benchmark_ranked_detectors
Return up to `top_k` shipped detector names for `data_type`, ranked by the modality-specific benchmark from the KB. Two ranking sourc
pyod/utils/ad_engine.py:1887
↓ 1 callersMethod_build_decoder
(self)
pyod/models/vae.py:340
↓ 1 callersMethod_build_decoder
(self)
pyod/models/auto_encoder.py:204
↓ 1 callersMethod_build_discriminator
(self)
pyod/models/anogan.py:73
↓ 1 callersMethod_build_encoder
(self)
pyod/models/vae.py:329
↓ 1 callersMethod_build_encoder
(self)
pyod/models/auto_encoder.py:192
↓ 1 callersMethod_build_generator
(self)
pyod/models/anogan.py:44
↓ 1 callersMethod_build_model
(self)
pyod/models/deep_svdd.py:103
↓ 1 callersMethod_build_model
(self)
pyod/models/alad.py:191
↓ 1 callersFunction_byteswap_field_in_nodes
Flip the byte order of one field's dtype only. The realignment should accept this as a compatible difference.
pyod/test/test_persistence.py:130
↓ 1 callersFunction_cal_score
(xx, clf)
pyod/models/dif.py:369
↓ 1 callersFunction_check_mcp
Probe whether the optional `mcp` package is importable. Returns the FastMCP class if available, else None. Does NOT call sys.exit — callers d
pyod/mcp_server.py:26
↓ 1 callersFunction_check_params
Internal function to check for and validate class parameters. Also, to return random state instance and the appropriate dissimilarity measure
pyod/models/lmdd.py:25
↓ 1 callersMethod_check_subset_size
Check subset size.
pyod/models/kpca.py:241
↓ 1 callersFunction_check_versions
Return a list of (field, saved, running, severity) tuples for every recorded dependency that drifted from the running version.
pyod/utils/persistence.py:338
↓ 1 callersMethod_cof_fast
Connectivity-Based Outlier Factor (COF) Algorithm This function is called internally to calculate the Connectivity-Based Outl
pyod/models/cof.py:187
↓ 1 callersMethod_cof_memory
Connectivity-Based Outlier Factor (COF) Algorithm This function is called internally to calculate the Connectivity-Based Outl
pyod/models/cof.py:150
↓ 1 callersFunction_compute_matrix_profile
Compute the Matrix Profile of a 1-D time series using STOMP. Parameters ---------- T : np.ndarray of shape (n,) Input time series
pyod/models/ts_matrix_profile.py:28
↓ 1 callersMethod_compute_scores
Full SCAN procedure: similarity, cores, clustering, scoring. Parameters ---------- edge_index : np.ndarray of shape (2, n
pyod/models/pyg_scan.py:113
↓ 1 callersFunction_current_tree_node_dtype
Discover the running sklearn's Tree node dtype dynamically. Reads `sklearn.tree._tree.NODE_DTYPE` when available (sklearn >= 1.0). Falls back
pyod/utils/persistence.py:514
↓ 1 callersMethod_decision_function_default
Internal method for predicting outlier scores using default ABOD. Parameters ---------- X : numpy array of shape (n_samples,
pyod/models/abod.py:294
↓ 1 callersMethod_decision_function_fast
Internal method for predicting outlier scores using Fast ABOD. Parameters ---------- X : numpy array of shape (n_samples, n_f
pyod/models/abod.py:319
↓ 1 callersMethod_decision_function_parallel
Predict raw anomaly score of X using the fitted detector. For consistency, outliers are assigned with larger anomaly scores. Paramete
pyod/models/copod.py:144
↓ 1 callersMethod_decision_function_parallel
Predict raw anomaly score of X using the fitted detector. For consistency, outliers are assigned with larger anomaly scores. Paramete
pyod/models/ecod.py:149
← previousnext →301–400 of 2,677, ranked by callers