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
__repr__
See http://scikit-learn.org/stable/modules/generated/sklearn.base.BaseEstimator.html and sklearn/base.py for more information.
pyod/models/base.py:706
Method
__sklearn_tags__
Return sklearn-style Tags for compatibility with scikit-learn >= 1.8. We mark all PyOD detectors as 'outlier_detector' so that utilities
pyod/models/base.py:718
Function
_aad
Internal Function to Calculate Average Absolute Deviation (a.k.a Mean Absolute Deviation)
pyod/models/lmdd.py:18
Function
_add_field_to_nodes
Add a NEW field to nodes_arr to simulate a future sklearn that introduces a field PyOD has not yet allowlisted.
pyod/test/test_persistence.py:83
Function
_build_decrease_contamination
(state: 'InvestigationState', _feedback_lower: str)
pyod/utils/_nl_feedback.py:333
Function
_build_exclude_action
(state: 'InvestigationState', feedback_lower: str)
pyod/utils/_nl_feedback.py:325
Function
_build_increase_contamination
(state: 'InvestigationState', _feedback_lower: str)
pyod/utils/_nl_feedback.py:342
Function
_build_rerun
(_state: 'InvestigationState', _feedback_lower: str)
pyod/utils/_nl_feedback.py:351
Function
_build_tree_from_args
Module-level constructor used by ``_OldDtypeTree.__reduce__``. Must be importable so pickle can resolve it on load.
pyod/test/test_persistence.py:147
Function
_cmd_info
Dispatch for `pyod info`. Self-diagnostic; returns 0 in core installs.
pyod/cli.py:38
Function
_cmd_install_skill
Dispatch for `pyod install skill`. Delegates to the shared helper.
pyod/cli.py:27
Function
_cmd_mcp_serve
Dispatch for `pyod mcp serve`. Delegates to `pyod.mcp_server.main`.
pyod/cli.py:166
Method
_decorator
(fn)
pyod/test/test_mcp_server_import.py:120
Function
_mock_encoder
Deterministic mock encoder for testing.
pyod/test/test_embedding.py:16
Function
_mock_encoder_a
(X)
pyod/test/test_embedding.py:259
Function
_mock_encoder_b
(X)
pyod/test/test_embedding.py:264
Function
_parallel_ecdf
Private method to calculate ecdf in parallel. Parameters ---------- n_dims : int The number of dimensions of the current input
pyod/models/copod.py:25
Function
_parallel_ecdf
Private method to calculate ecdf in parallel. Parameters ---------- n_dims : int The number of dimensions of the current input mat
pyod/models/ecod.py:26
Method
_process_decision_scores
Internal function to calculate key attributes: - threshold_: used to decide the binary label - labels_: binary labels of training dat
pyod/models/base.py:559
Method
_rank
(d)
pyod/utils/ad_engine.py:438
Function
_render_benchmark_list
Render a deduplicated list of benchmark refs cited in the KB.
scripts/regen_skill.py:202
Function
_render_total_count
Render a one-line summary of total detector counts by modality.
scripts/regen_skill.py:182
Function
_replace
(match)
scripts/regen_skill.py:244
Function
_torch_available
()
pyod/test/test_ts_lstm.py:17
Function
_torch_available
()
pyod/test/test_ts_anomaly_transformer.py:17
Method
algorithms
(self)
pyod/utils/knowledge/__init__.py:42
Function
analyze_results
Analyze a detection result. Wraps ``ADEngine.analyze_results``. Pass the JSON returned by ``run_detection`` as ``result``; optionally include
pyod/mcp_server.py:308
Method
assertHasAttr
(self, obj, intended_attr)
pyod/test/test_base_dl.py:102
Method
assertHasAttr
(self, obj, intended_attr)
pyod/test/test_vae.py:43
Method
assertHasAttr
(self, obj, intended_attr)
pyod/test/test_so_gaal_new.py:24
Method
assertNotHasAttr
(self, obj, intended_attr)
pyod/test/test_base_dl.py:105
Method
bad_llm
(prompt: str)
pyod/test/test_kb_router_surface1.py:290
Method
benchmarks
(self)
pyod/utils/knowledge/__init__.py:48
Function
build_detector
Get constructor metadata for a detector from a plan. Returns import path, class name, params, and a Python code snippet for instantiation. Pa
pyod/mcp_server.py:110
Method
build_model
(self)
pyod/test/test_base_dl.py:56
Method
build_model
(self)
pyod/test/test_base_dl.py:87
Method
build_model
(self)
pyod/models/vae.py:256
Method
build_model
(self)
pyod/models/auto_encoder.py:148
Method
build_model
(self)
pyod/models/so_gaal_new.py:63
Method
coef_
Weights assigned to the features (coefficients in the primal problem). This is only available in the case of a linear kernel. `coef_`
pyod/models/ocsvm.py:217
Function
compare_detectors
Compare detectors for a given data type. Args: names: Comma-separated detector names. If empty, top-k for type. data_type: Data t
pyod/mcp_server.py:195
Method
converged_
True when convergence was reached in fit(), False otherwise. Decorator for scikit-learn Gaussian Mixture Model attributes.
pyod/models/gmm.py:264
Method
covariance_
Estimated robust covariance matrix. Decorator for scikit-learn MinCovDet attributes.
pyod/models/mcd.py:213
Method
covariances_
The covariance of each mixture component. Decorator for scikit-learn Gaussian Mixture Model attributes.
pyod/models/gmm.py:242
Method
create_discriminator
(layers, input_dim)
pyod/models/alad.py:230
Method
decision_function
(self)
pyod/test/test_utility.py:290
Method
decision_function
(self, X)
pyod/test/test_base.py:39
Method
decision_function
(self, X)
pyod/test/test_base.py:65
Method
decision_function
(self, X)
pyod/test/test_base.py:82
Method
decision_function
(self, X)
pyod/test/test_base.py:96
Method
decision_function
(self, X)
pyod/test/test_base.py:104
Method
decision_function
(self, X)
pyod/test/test_base.py:115
Method
decision_function
(self, X)
pyod/test/test_base.py:126
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detecto
pyod/models/sos.py:287
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detecto
pyod/models/so_gaal.py:212
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detecto
pyod/models/pca.py:273
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detecto
pyod/models/qmcd.py:121
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detecto
pyod/models/mo_gaal.py:265
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detecto
pyod/models/loda.py:175
Method
decision_function
(self, X)
pyod/models/loci.py:243
Method
decision_function
Predict raw anomaly score of X using the fitted detector. For new data, anomaly scores are approximated by the weighted average of th
pyod/models/hdbscan.py:156
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detecto
pyod/models/mcd.py:152
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detecto
pyod/models/kpca.py:353
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detecto
pyod/models/kde.py:161
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detecto
pyod/models/anogan.py:391
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detecto
pyod/models/sampling.py:168
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detecto
pyod/models/cblof.py:200
Method
decision_function
Predict raw anomaly score of X using the fitted detectors. The anomaly score of an input sample is computed based on different detect
pyod/models/suod.py:246
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detector
pyod/models/alad.py:447
Method
decision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different detecto
pyod/models/inne.py:194
Method
decision_function_negative
(self)
pyod/test/test_utility.py:283
Method
dual_coef_
Coefficients of the support vectors in the decision function. Decorator for scikit-learn One class SVM attributes.
pyod/models/ocsvm.py:210
Method
ecdf
Calculated the empirical CDF of a given dataset using the statsmodels function. Parameters ---------- X : numpy ar
pyod/test/test_stat_models.py:75
Method
encode
Encode text or images to embeddings. Parameters ---------- X : list of str (text) or list of PIL.Image (image) In
pyod/utils/encoders/huggingface.py:81
Method
epoch_update
(self)
pyod/models/so_gaal_new.py:134
Method
estimators_
The collection of fitted sub-estimators. Decorator for scikit-learn Isolation Forest attributes.
pyod/models/iforest.py:249
Method
estimators_features_
The indeces of the subset of features used to train the estimators. Decorator for scikit-learn Isolation Forest attributes.
pyod/models/iforest.py:271
Method
estimators_samples_
The subset of drawn samples (i.e., the in-bag samples) for each base estimator. Decorator for scikit-learn Isolation Forest attributes
pyod/models/iforest.py:256
Method
evaluating_forward
(self, batch_data)
pyod/test/test_base_dl.py:69
Method
evaluating_forward
(self, batch_data)
pyod/models/vae.py:279
Method
evaluating_forward
(self, batch_data)
pyod/models/auto_encoder.py:166
Method
evaluating_forward
(self, batch_data)
pyod/models/so_gaal_new.py:138
Method
evaluating_prepare
(self)
pyod/models/so_gaal_new.py:90
Method
excluded_llm
(prompt: str)
pyod/test/test_kb_router_surface1.py:272
Function
explain_detector
Explain a PyOD detector: how it works, strengths, weaknesses, benchmark performance, and recommended use cases.
pyod/mcp_server.py:186
Function
explain_findings
Explain why specific samples were flagged as anomalies. Wraps ``ADEngine.explain_findings``. Pass the JSON returned by ``run_detection`` as `
pyod/mcp_server.py:344
Method
explain_outlier
Plot dimensional outlier graph for a given data point within the dataset. Parameters ---------- ind : int
pyod/models/copod.py:203
Method
explained_variance_
The amount of variance explained by each of the selected components. Equal to n_components largest eigenvalues of the covariance matr
pyod/models/pca.py:302
Method
explained_variance_ratio_
Percentage of variance explained by each of the selected components. If ``n_components`` is not set then all components are stored and the
pyod/models/pca.py:313
Method
fake_compat_load
(p, mmap_mode=None)
pyod/test/test_persistence.py:881
Method
fake_load_non_prefix
(*args, **kwargs)
pyod/test/test_persistence.py:890
Method
fake_load_prefix
(*args, **kwargs)
pyod/test/test_persistence.py:913
Method
feature_importances_
The impurity-based feature importance. The higher, the more important the feature. The importance of a feature is computed as the (nor
pyod/models/iforest.py:292
Method
fit
(self)
pyod/test/test_utility.py:287
Method
fit
(self, X, y=None)
pyod/test/test_cd.py:166
Method
fit
(self, X, y=None)
pyod/test/test_base.py:36
Method
fit
(self, X, y=None)
pyod/test/test_base.py:62
Method
fit
(self, X, y=None)
pyod/test/test_base.py:79
Method
fit
(self, X, y=None)
pyod/test/test_base.py:93
Method
fit
(self, X, y=None)
pyod/test/test_base.py:107
← previous
next →
701–800 of 2,677, ranked by callers