MCPcopy Create free account

hub / github.com/yzhao062/pyod / functions

Functions2,677 in github.com/yzhao062/pyod

↓ 1 callersMethoddecision_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/mad.py:103
↓ 1 callersMethoddecision_function
(self, X)
pyod/models/pyg_dominant.py:123
↓ 1 callersMethoddecision_function
Predict raw anomaly score of X using the fitted detector. For consistency, outliers are assigned with larger anomaly scores. Paramete
pyod/models/copod.py:112
↓ 1 callersMethoddecision_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/abod.py:265
↓ 1 callersMethoddecision_function
Predict raw anomaly score of X using the fitted detector. The anomaly score of an input sample is computed based on different
pyod/models/base_dl.py:257
↓ 1 callersMethoddecision_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/feature_bagging.py:294
↓ 1 callersMethoddecision_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/dif.py:231
↓ 1 callersMethoddecision_function
Not supported (transductive detector). Raises ------ NotImplementedError
pyod/models/ts_matrix_profile.py:299
↓ 1 callersMethoddecision_function
Predict raw anomaly scores for time series X. Parameters ---------- X : array-like of shape (n_timestamps,) or (n_timestamps,
pyod/models/ts_anomaly_transformer.py:614
↓ 1 callersMethoddecision_function
Not supported (transductive detector).
pyod/models/pyg_radar.py:152
↓ 1 callersMethoddecision_function
Predict raw anomaly scores for time series X. Parameters ---------- X : array-like of shape (n_timestamps,) or (n_timestamps,
pyod/models/ts_od.py:147
↓ 1 callersMethoddecision_function
Predict raw anomaly score of X using the fitted detector. For consistency, outliers are assigned with larger anomaly scores. Paramete
pyod/models/ecod.py:114
↓ 1 callersMethoddecision_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/lmdd.py:142
↓ 1 callersMethoddecision_function
Not supported (transductive detector).
pyod/models/pyg_scan.py:195
↓ 1 callersMethoddecision_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/rgraph.py:458
↓ 1 callersMethoddecision_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/gmm.py:203
↓ 1 callersMethoddecision_function
Predict raw anomaly score of X using the fitted detector. Parameters ---------- X : numpy.ndarray The input sampl
pyod/models/ae1svm.py:349
↓ 1 callersMethoddecision_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/deep_svdd.py:368
↓ 1 callersMethoddecision_function
(self, X)
pyod/models/devnet.py:276
↓ 1 callersMethoddecision_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/rod.py:412
↓ 1 callersMethoddecision_function
Predict raw anomaly scores for time series X. Parameters ---------- X : array-like of shape (n_timestamps,) or (n_timestamps,
pyod/models/ts_kshape.py:449
↓ 1 callersMethoddecision_function
Not supported (transductive detector).
pyod/models/pyg_anomalous.py:165
↓ 1 callersMethoddecision_function
Predict raw anomaly scores for time series X. Parameters ---------- X : array-like of shape (n_timestamps,) or (n_timestamps,
pyod/models/ts_lstm.py:283
↓ 1 callersMethoddecision_function_update
For any additional operations after each decision function call.
pyod/models/base_dl.py:431
↓ 1 callersFunctiondeviation_loss
Z-score-based deviation loss translated to PyTorch.
pyod/models/devnet.py:69
↓ 1 callersFunctiondeviation_network
Construct the deviation network-based detection model in PyTorch style
pyod/models/devnet.py:111
↓ 1 callersFunctionecdf_terminate_equals_inplace
This is a helper function for computing the ecdf of an array. It has been outsourced from the original function in order to be able to use th
pyod/utils/stat_models.py:231
↓ 1 callersMethodelastic_net_subspace_clustering
Source: https://github.com/ChongYou/subspace-clustering/blob/master/cluster/selfrepresentation.py Elastic net subspace clust
pyod/models/rgraph.py:275
↓ 1 callersMethodencode
Encode text strings to embeddings. Parameters ---------- X : list of str Text strings to encode. batch_s
pyod/utils/encoders/sentence_transformer.py:69
↓ 1 callersMethodepoch_update
For any additional operations after each epoch.
pyod/models/base_dl.py:425
↓ 1 callersFunctioneval_condition
Evaluate a single condition predicate. Supported operators: ``'eq'`` (equality), ``'lt'``, ``'lte'``, ``'gt'``, ``'gte'`` (numeric comparison
pyod/utils/_kb_router.py:116
↓ 1 callersFunctionevaluate_rules
Evaluate routing rules against a data profile. Walks every rule in the KB's routing-rules table; for each rule whose conditions match the pro
pyod/utils/_kb_router.py:19
↓ 1 callersMethodevaluating_forward
Forward pass for evaluating the model. Abstract method to be implemented. Parameters ---------- batch_data :
pyod/models/base_dl.py:399
↓ 1 callersMethodevaluating_prepare
(self)
pyod/models/base_dl.py:294
↓ 1 callersMethodexplain_outlier
Plot dimensional outlier graph for a given data point within the dataset. Parameters ---------- ind : int
pyod/models/ecod.py:211
↓ 1 callersFunctionexplain_top_cases
Explain top anomalies from the best detector.
examples/agentic_hindsight_real_data.py:230
↓ 1 callersFunctionfeature_contributions
Compute per-feature z-score, value, and direction for a sample. Returns the top-5 features by absolute z-score for the row at `idx`. Each ent
pyod/utils/_quality_metrics.py:280
↓ 1 callersFunctionfeature_name
Map a UCI Ionosphere feature index to a readable pulse name.
examples/agentic_hindsight_real_data.py:223
↓ 1 callersMethodfit
(self, X, y=None, **kwargs)
pyod/test/test_cd.py:139
↓ 1 callersMethodfit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/rgraph.py:426
↓ 1 callersMethodfit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/gmm.py:156
↓ 1 callersMethodfit
Fit detector. y is ignored in unsupervised methods. Parameters ---------- X : numpy array of shape (n_samples, n_features)
pyod/models/ocsvm.py:129
↓ 1 callersMethodfit
(self, X, y)
pyod/models/devnet.py:236
↓ 1 callersFunctiongenerate_indices
Draw randomly sampled indices. Internal use only. See sklearn/ensemble/bagging.py Parameters ---------- random_state : RandomState
pyod/utils/utility.py:515
↓ 1 callersFunctiongeometric_median
Find the multivariate geometric L1-median by applying Vardi and Zhang algorithm. Parameters ---------- x : array-like, the data
pyod/models/rod.py:58
↓ 1 callersMethodget_in_out_channels
(i, num_layers, n_features, n_hidden, n_output, skip_connection)
pyod/models/dif.py:323
↓ 1 callersMethodget_top_clf
Imports the library of the selected model and initializes the classifier. Returns ------- clf : object
pyod/utils/auto_model_selector.py:361
↓ 1 callersFunctioninstall
Copy a packaged skill (with references/) into a Claude Code skill directory. The skill is installed at ``target_dir / <install-dirname>/`` as a
pyod/skills/__init__.py:94
↓ 1 callersFunctionload_ionosphere
Download UCI Ionosphere and return X plus held-out labels.
examples/agentic_hindsight_real_data.py:71
↓ 1 callersFunctionload_model_weight_predict
(model, x_test)
pyod/models/devnet.py:185
↓ 1 callersFunctionmain
Unified `pyod` CLI entry point.
pyod/cli.py:172
↓ 1 callersFunctionmain
Entry point for `python -m pyod.mcp_server` and `pyod mcp serve`. Creates the FastMCP instance, registers every tool function, and blocks on
pyod/mcp_server.py:436
↓ 1 callersFunctionmain
()
pyod/test/fixtures/regen_iforest_sklearn_1_2.py:53
↓ 1 callersFunctionmain
(argv=None)
scripts/regen_skill.py:318
↓ 1 callersFunctionmain
()
scripts/render_agentic_demo.py:37
↓ 1 callersFunctionmajority_vote
Combination method to merge the scores from multiple estimators by majority vote. Parameters ---------- scores : numpy array of shape
pyod/models/combination.py:140
↓ 1 callersMethodplot_learning_curves
(self, start_ind=0, window_smoothening=10)
pyod/models/alad.py:474
↓ 1 callersMethodpredict
Not supported (transductive detector).
pyod/models/pyg_cola.py:156
↓ 1 callersMethodpredict
Not supported (transductive detector).
pyod/models/pyg_conad.py:173
↓ 1 callersMethodpredict
Not supported (transductive detector).
pyod/models/pyg_guide.py:183
↓ 1 callersMethodpredict
Not supported (transductive detector).
pyod/models/pyg_anomalydae.py:142
↓ 1 callersMethodpredict
(self, X, return_confidence=False)
pyod/models/pyg_dominant.py:128
↓ 1 callersMethodpredict
Not supported (transductive detector). Raises ------ NotImplementedError
pyod/models/ts_matrix_profile.py:311
↓ 1 callersMethodpredict
Not supported (transductive detector).
pyod/models/pyg_radar.py:158
↓ 1 callersMethodpredict
Not supported (transductive detector).
pyod/models/pyg_scan.py:201
↓ 1 callersMethodpredict
Not supported (transductive detector).
pyod/models/pyg_anomalous.py:171
↓ 1 callersMethodpredict_proba
Predict the probability of a sample being an outlier. Overrides the base implementation to handle list inputs (raw data such as text
pyod/models/embedding.py:310
↓ 1 callersFunctionregen_all
Regenerate every skill file. Returns the number of files modified.
scripts/regen_skill.py:274
↓ 1 callersFunctionregen_file
Regenerate every KB-DERIVED block in a single file in place. Returns True if the file was modified, False if it was already up to date.
scripts/regen_skill.py:236
↓ 1 callersMethodreparameterize
(self, mu, logvar)
pyod/models/vae.py:361
↓ 1 callersFunctionrule_matches
Check if all conditions in a rule match the profile. Each rule's ``conditions`` list is treated as a logical AND. A condition's ``field`` is
pyod/utils/_kb_router.py:75
↓ 1 callersFunctionrun_flow
Run a complete agentic flow on external data.
examples/agentic_hindsight_real_data.py:266
↓ 1 callersFunctionscale_angles
Scale all angles in which angles <= 90 degree will be scaled within [0 - 54.7] and angles > 90 will be scaled within [90 - 126] Para
pyod/models/rod.py:98
↓ 1 callersFunctionselect_best_detector
Select best detector via Spearman with consensus. Fallback chain (per spec): 1. Highest finite Spearman correlation against consensus. 2
pyod/utils/_quality_metrics.py:151
↓ 1 callersFunctionskill_postrun_triggers
Return od-expert adaptive triggers fired after analysis.
examples/agentic_hindsight_real_data.py:122
↓ 1 callersFunctionskill_preflight_notes
Apply the od-expert skill's tabular pre-run checklist.
examples/agentic_hindsight_real_data.py:91
↓ 1 callersMethodsvm_decision_function
Compute the SVM decision function. Parameters ---------- rff_features : torch.Tensor Random Fourier features.
pyod/models/ae1svm.py:124
↓ 1 callersFunctiontest_hbos_auto_bins_edge_cases
Additional edge case tests for HBOS with auto bins.
pyod/test/test_hbos_auto_bins_fix.py:89
↓ 1 callersFunctiontest_hbos_auto_bins_with_out_of_range_values
Test HBOS with n_bins='auto' when test data exceeds training range. This test reproduces the IndexError that occurred when test values
pyod/test/test_hbos_auto_bins_fix.py:22
↓ 1 callersFunctiontest_hbos_static_bins_comparison
Compare behavior between auto and static bins to ensure consistency.
pyod/test/test_hbos_auto_bins_fix.py:142
↓ 1 callersMethodtool
(self)
pyod/test/test_mcp_server_import.py:119
↓ 1 callersMethodtrain_more
This function allows the researcher to perform extra training instead of the fixed number determined by the fit() function.
pyod/models/alad.py:391
↓ 1 callersMethodtraining_forward
Forward pass for training the model. Abstract method to be implemented. Parameters ---------- batch_data : t
pyod/models/base_dl.py:368
↓ 1 callersMethodtraining_prepare
(self)
pyod/models/base_dl.py:205
↓ 1 callersFunctiontransform
(nodes)
pyod/test/test_persistence.py:183
Method__call__
(self, prompt: str)
pyod/utils/_llm.py:54
Method__call__
(self, *args, **kwargs)
pyod/models/ts_lstm.py:342
Method__getitem__
(self, idx)
pyod/utils/torch_utility.py:27
Method__getitem__
(self, index)
pyod/models/lscp.py:404
Method__getitem__
Returns the index'th estimator in the ensemble.
pyod/models/feature_bagging.py:403
Method__getitem__
(self, idx)
pyod/models/devnet.py:144
Method__init__
Initializes the AutoModelSelector with a dataset, additional notes, and an OpenAI API key. Parameters ----------
pyod/utils/auto_model_selector.py:98
Method__init__
(self, X, y=None, mean=None, std=None, eps=1e-8, X_dtype=torch.float32, y_dtype=torch.float32
pyod/utils/torch_utility.py:12
Method__init__
(self, in_features, out_features, has_act=True, activation_name='relu', batc
pyod/utils/torch_utility.py:115
Method__init__
(self, knowledge_dir: str | None = None, random_state: int | None = None)
pyod/utils/ad_engine.py:71
Method__init__
(self, model_name='all-MiniLM-L6-v2', device=None, normalize=False, truncate_dim=None)
pyod/utils/encoders/sentence_transformer.py:58
Method__init__
(self, model_name='text-embedding-3-small', dimensions=None, api_key=None)
pyod/utils/encoders/openai_encoder.py:45
Method__init__
(self, fn)
pyod/utils/encoders/__init__.py:85
Method__init__
(self, encoders, weights=None)
pyod/utils/encoders/__init__.py:128
Method__init__
(self, sr=_DEFAULT_SR, n_mfcc=_N_MFCC)
pyod/utils/encoders/audio.py:112
← previousnext →501–600 of 2,677, ranked by callers