MCPcopy Create free account

hub / github.com/yzhao062/pyod / functions

Functions2,677 in github.com/yzhao062/pyod

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
Methodalgorithms
(self)
pyod/utils/knowledge/__init__.py:42
Functionanalyze_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
MethodassertHasAttr
(self, obj, intended_attr)
pyod/test/test_base_dl.py:102
MethodassertHasAttr
(self, obj, intended_attr)
pyod/test/test_vae.py:43
MethodassertHasAttr
(self, obj, intended_attr)
pyod/test/test_so_gaal_new.py:24
MethodassertNotHasAttr
(self, obj, intended_attr)
pyod/test/test_base_dl.py:105
Methodbad_llm
(prompt: str)
pyod/test/test_kb_router_surface1.py:290
Methodbenchmarks
(self)
pyod/utils/knowledge/__init__.py:48
Functionbuild_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
Methodbuild_model
(self)
pyod/test/test_base_dl.py:56
Methodbuild_model
(self)
pyod/test/test_base_dl.py:87
Methodbuild_model
(self)
pyod/models/vae.py:256
Methodbuild_model
(self)
pyod/models/auto_encoder.py:148
Methodbuild_model
(self)
pyod/models/so_gaal_new.py:63
Methodcoef_
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
Functioncompare_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
Methodconverged_
True when convergence was reached in fit(), False otherwise. Decorator for scikit-learn Gaussian Mixture Model attributes.
pyod/models/gmm.py:264
Methodcovariance_
Estimated robust covariance matrix. Decorator for scikit-learn MinCovDet attributes.
pyod/models/mcd.py:213
Methodcovariances_
The covariance of each mixture component. Decorator for scikit-learn Gaussian Mixture Model attributes.
pyod/models/gmm.py:242
Methodcreate_discriminator
(layers, input_dim)
pyod/models/alad.py:230
Methoddecision_function
(self)
pyod/test/test_utility.py:290
Methoddecision_function
(self, X)
pyod/test/test_base.py:39
Methoddecision_function
(self, X)
pyod/test/test_base.py:65
Methoddecision_function
(self, X)
pyod/test/test_base.py:82
Methoddecision_function
(self, X)
pyod/test/test_base.py:96
Methoddecision_function
(self, X)
pyod/test/test_base.py:104
Methoddecision_function
(self, X)
pyod/test/test_base.py:115
Methoddecision_function
(self, X)
pyod/test/test_base.py:126
Methoddecision_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
Methoddecision_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
Methoddecision_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
Methoddecision_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
Methoddecision_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
Methoddecision_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
Methoddecision_function
(self, X)
pyod/models/loci.py:243
Methoddecision_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
Methoddecision_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
Methoddecision_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
Methoddecision_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
Methoddecision_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
Methoddecision_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
Methoddecision_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
Methoddecision_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
Methoddecision_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
Methoddecision_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
Methoddecision_function_negative
(self)
pyod/test/test_utility.py:283
Methoddual_coef_
Coefficients of the support vectors in the decision function. Decorator for scikit-learn One class SVM attributes.
pyod/models/ocsvm.py:210
Methodecdf
Calculated the empirical CDF of a given dataset using the statsmodels function. Parameters ---------- X : numpy ar
pyod/test/test_stat_models.py:75
Methodencode
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
Methodepoch_update
(self)
pyod/models/so_gaal_new.py:134
Methodestimators_
The collection of fitted sub-estimators. Decorator for scikit-learn Isolation Forest attributes.
pyod/models/iforest.py:249
Methodestimators_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
Methodestimators_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
Methodevaluating_forward
(self, batch_data)
pyod/test/test_base_dl.py:69
Methodevaluating_forward
(self, batch_data)
pyod/models/vae.py:279
Methodevaluating_forward
(self, batch_data)
pyod/models/auto_encoder.py:166
Methodevaluating_forward
(self, batch_data)
pyod/models/so_gaal_new.py:138
Methodevaluating_prepare
(self)
pyod/models/so_gaal_new.py:90
Methodexcluded_llm
(prompt: str)
pyod/test/test_kb_router_surface1.py:272
Functionexplain_detector
Explain a PyOD detector: how it works, strengths, weaknesses, benchmark performance, and recommended use cases.
pyod/mcp_server.py:186
Functionexplain_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
Methodexplain_outlier
Plot dimensional outlier graph for a given data point within the dataset. Parameters ---------- ind : int
pyod/models/copod.py:203
Methodexplained_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
Methodexplained_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
Methodfake_compat_load
(p, mmap_mode=None)
pyod/test/test_persistence.py:881
Methodfake_load_non_prefix
(*args, **kwargs)
pyod/test/test_persistence.py:890
Methodfake_load_prefix
(*args, **kwargs)
pyod/test/test_persistence.py:913
Methodfeature_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
Methodfit
(self)
pyod/test/test_utility.py:287
Methodfit
(self, X, y=None)
pyod/test/test_cd.py:166
Methodfit
(self, X, y=None)
pyod/test/test_base.py:36
Methodfit
(self, X, y=None)
pyod/test/test_base.py:62
Methodfit
(self, X, y=None)
pyod/test/test_base.py:79
Methodfit
(self, X, y=None)
pyod/test/test_base.py:93
Methodfit
(self, X, y=None)
pyod/test/test_base.py:107
← previousnext →701–800 of 2,677, ranked by callers