MCPcopy Create free account

hub / github.com/NetManAIOps/OmniAnomaly / functions

Functions142 in github.com/NetManAIOps/OmniAnomaly

↓ 8 callersMethod_log_likelihood
Compute the log-likelihood for the Generalized Pareto Distribution (μ=0) Parameters ---------- Y : numpy.arr
omni_anomaly/spot.py:267
↓ 8 callersMethod_rootsFinder
Find possible roots of a scalar function Parameters ---------- fun : function scalar function
omni_anomaly/spot.py:220
↓ 8 callersMethodplot
Plot the results of given by the run Parameters ---------- run_results : dict results given by t
omni_anomaly/spot.py:463
↓ 6 callersMethodrun
Run SPOT on the stream Parameters ---------- with_alarm : bool (default = True) If False, SPOT will ad
omni_anomaly/spot.py:395
↓ 5 callersMethod_grimshaw
Compute the GPD parameters estimation with the Grimshaw's trick Parameters ---------- epsilon : float
omni_anomaly/spot.py:777
↓ 5 callersMethod_grimshaw
Compute the GPD parameters estimation with the Grimshaw's trick Parameters ---------- epsilon : float
omni_anomaly/spot.py:1777
↓ 5 callersMethod_quantile
Compute the quantile at level 1-q for a given side Parameters ---------- side : str 'up' or 'dow
omni_anomaly/spot.py:857
↓ 5 callersMethod_quantile
Compute the quantile at level 1-q for a given side Parameters ---------- side : str 'up' or 'dow
omni_anomaly/spot.py:1857
↓ 4 callersMethodvariational
Derive an instance of :math:`q(z|h(x))`, the variational net. Args: x: The observation `x` for the variational net.
omni_anomaly/vae.py:249
↓ 3 callersMethod_grimshaw
Compute the GPD parameters estimation with the Grimshaw's trick Parameters ---------- epsilon : float
omni_anomaly/spot.py:293
↓ 3 callersMethod_grimshaw
Compute the GPD parameters estimation with the Grimshaw's trick Parameters ---------- epsilon : float
omni_anomaly/spot.py:1287
↓ 3 callersMethod_quantile
Compute the quantile at level 1-q Parameters ---------- gamma : float GPD parameter sigma : fl
omni_anomaly/spot.py:373
↓ 3 callersMethod_quantile
Compute the quantile at level 1-q Parameters ---------- gamma : float GPD parameter sigma : fl
omni_anomaly/spot.py:1367
↓ 3 callersMethodadd
This function allows to append data to the already fitted data Parameters ---------- data : list, numpy.array, pan
omni_anomaly/spot.py:149
↓ 3 callersFunctionadjust_predicts
Calculate adjusted predict labels using given `score`, `threshold` (or given `pred`) and `label`. Args: score (np.ndarray): The anom
omni_anomaly/eval_methods.py:25
↓ 3 callersFunctioncalc_point2point
calculate f1 score by predict and actual. Args: predict (np.ndarray): the predict label actual (np.ndarray): np.ndarray
omni_anomaly/eval_methods.py:7
↓ 3 callersFunctionget_data_dim
(dataset)
omni_anomaly/utils.py:29
↓ 3 callersMethodget_iterator
Iterate through the sliding windows of each array in `arrays`. This method is not re-entrant, i.e., calling :meth:`get_iterator`
omni_anomaly/utils.py:193
↓ 3 callersMethodget_score
Get the `reconstruction probability` of specified KPI observations. The larger `reconstruction probability`, the less likely a point
omni_anomaly/prediction.py:81
↓ 3 callersFunctionload_and_save
(category, filename, dataset, dataset_folder)
data_preprocess.py:14
↓ 3 callersMethodlog_prob
(self, given, group_ndims=0, name=None)
omni_anomaly/wrapper.py:73
↓ 3 callersMethodmodel
Derive an instance of :math:`p(x|h(z))`, the model net. Args: z: If specified, observe `z` in the model net. (default :o
omni_anomaly/vae.py:285
↓ 3 callersFunctionrnn
(x, window_length, rnn_num_hidden, rnn_cell='GRU', hidden_dense=2, den
omni_anomaly/wrapper.py:83
↓ 2 callersFunctionbackMean
(X, d)
omni_anomaly/spot.py:1029
↓ 2 callersMethodchain
Chain :math:`q(z|h(x))` and :math:`p(x,z|h(x))` together. This method chains the variational net :math:`q(z|h(x))` and the m
omni_anomaly/vae.py:326
↓ 2 callersMethodlog_prob
(self, given, group_ndims=0, name=None)
omni_anomaly/recurrent_distribution.py:137
↓ 2 callersFunctionpreprocess
returns normalized and standardized data.
omni_anomaly/utils.py:83
↓ 2 callersFunctionsave_z
save the sampled z in a txt file
omni_anomaly/utils.py:11
↓ 1 callersMethod__init__
Construct the :class:`VAE`. Args: p_z (Distribution): :math:`p(z)`, the distribution instance. p_x_given_z:
omni_anomaly/vae.py:113
↓ 1 callersMethod_forward
Get a `z` sample from :math:`q(z|h(x))`, using the variational net. Args: inputs: The input `x`. n_z: Number
omni_anomaly/vae.py:448
↓ 1 callersMethod_forward
(self, inputs, **kwargs)
omni_anomaly/vae.py:505
↓ 1 callersMethod_get_score_without_y
(self)
omni_anomaly/prediction.py:59
↓ 1 callersMethodbatch_shape
(self)
omni_anomaly/wrapper.py:46
↓ 1 callersFunctionbf_search
Find the best-f1 score by searching best `threshold` in [`start`, `end`). Returns: list: list for results float: the `thres
omni_anomaly/eval_methods.py:90
↓ 1 callersFunctioncalc_seq
Calculate f1 score for a score sequence
omni_anomaly/eval_methods.py:76
↓ 1 callersFunctionconcatenate_and_save
(category)
data_preprocess.py:54
↓ 1 callersMethodfit
Import data to SPOT object Parameters ---------- init_data : list, numpy.array or pandas.Series initial batc
omni_anomaly/spot.py:109
↓ 1 callersMethodfit
Train the :class:`OmniAnomaly` model with given data. Args: values (np.ndarray): 1-D `float32` array, the standardized
omni_anomaly/training.py:184
↓ 1 callersFunctionget_data
get data from pkl files return shape: (([train_size, x_dim], [train_size] or None), ([test_size, x_dim], [test_size]))
omni_anomaly/utils.py:40
↓ 1 callersMethodget_training_loss
Get the training loss for this VAE. The variational solver is automatically chosen according to `z.is_reparameterized`, and
omni_anomaly/vae.py:366
↓ 1 callersMethodh_for_p_x
Get :math:`h(z)`, the hidden network for :math:`p(x|h(z))`. Returns: Module: The hidden network.
omni_anomaly/vae.py:214
↓ 1 callersMethodh_for_q_z
Get :math:`h(x)`, the hidden network for :math:`q(z|h(x))`. Returns: Module: The hidden network.
omni_anomaly/vae.py:224
↓ 1 callersMethodinitialize
Run the calibration (initialization) step Parameters ---------- level : float (default 0.98) Probab
omni_anomaly/spot.py:171
↓ 1 callersFunctionload_data
(dataset)
data_preprocess.py:23
↓ 1 callersFunctionmain
()
main.py:88
↓ 1 callersFunctionminibatch_slices_iterator
Iterate through all the mini-batch slices. Args: length (int): Total length of data in an epoch. batch_size (int): Size of e
omni_anomaly/utils.py:103
↓ 1 callersMethodp_x_given_z
Get the factory for :math:`p(x|h(z))`. Returns: DistributionFactory: The distribution factory.
omni_anomaly/vae.py:194
↓ 1 callersFunctionpot_eval
Run POT method on given score. Args: init_score (np.ndarray): The data to get init threshold. For `OmniAnomaly`, it shoul
omni_anomaly/eval_methods.py:120
↓ 1 callersMethodq_z_given_x
Get the factory for :math:`q(z|h(x))`. Returns: DistributionFactory: The distribution factory.
omni_anomaly/vae.py:204
Method__call__
(self, inputs, **kwargs)
omni_anomaly/vae.py:172
Method__call__
(self, inputs, **kwargs)
omni_anomaly/vae.py:508
Method__init__
Constructor Parameters ---------- q Detection level (risk) Returns ---------- SPOT object
omni_anomaly/spot.py:59
Method__init__
Constructor Parameters ---------- q Detection level (risk) Returns ---------- biSPOT object
omni_anomaly/spot.py:538
Method__init__
(self, q, depth)
omni_anomaly/spot.py:1073
Method__init__
(self, q=1e-4, depth=10)
omni_anomaly/spot.py:1546
Method__init__
(self, array_size, window_size, batch_size, excludes=None, shuffle=False, ignore_incomplete_b
omni_anomaly/utils.py:151
Method__init__
Construct the :class:`Lambda`. Args: f ((inputs, \**kwargs) -> outputs): The function or lambda expressi
omni_anomaly/vae.py:490
Method__init__
(self, distribution)
omni_anomaly/wrapper.py:18
Method__init__
(self, input_q, mean_q_mlp, std_q_mlp, z_dim, window_length=100, is_reparameterized=True, che
omni_anomaly/recurrent_distribution.py:73
Method__init__
(self, model, n_z=1024, batch_size=32, feed_dict=None, last_point_only=True, name=None, scope
omni_anomaly/prediction.py:37
Method__init__
(self, model, model_vs=None, n_z=None, feed_dict=None, valid_feed_dict=None,
omni_anomaly/training.py:70
Method__init__
(self, config, name=None, scope=None)
omni_anomaly/model.py:18
Method__repr__
(self)
omni_anomaly/wrapper.py:27
Method__str__
(self)
omni_anomaly/spot.py:81
Method__str__
(self)
omni_anomaly/spot.py:564
Method__str__
(self)
omni_anomaly/spot.py:1084
Method__str__
(self)
omni_anomaly/spot.py:1562
Method_log_likelihood
Compute the log-likelihood for the Generalized Pareto Distribution (μ=0) Parameters ---------- Y : numpy.arr
omni_anomaly/spot.py:751
Method_log_likelihood
Compute the log-likelihood for the Generalized Pareto Distribution (μ=0) Parameters ---------- Y : numpy.arr
omni_anomaly/spot.py:1261
Method_log_likelihood
Compute the log-likelihood for the Generalized Pareto Distribution (μ=0) Parameters ---------- Y : numpy.arr
omni_anomaly/spot.py:1751
Method_rootsFinder
Find possible roots of a scalar function Parameters ---------- fun : function scalar function
omni_anomaly/spot.py:704
Method_rootsFinder
Find possible roots of a scalar function Parameters ---------- fun : function scalar function
omni_anomaly/spot.py:1214
Method_rootsFinder
Find possible roots of a scalar function Parameters ---------- fun : function scalar function
omni_anomaly/spot.py:1704
Methodadd
This function allows to append data to the already fitted data Parameters ---------- data : list, numpy.array, pan
omni_anomaly/spot.py:634
Methodadd
This function allows to append data to the already fitted data Parameters ---------- data : list, numpy.array, pan
omni_anomaly/spot.py:1153
Methodadd
This function allows to append data to the already fitted data Parameters ---------- data : list, numpy.array, pan
omni_anomaly/spot.py:1632
Methodbatch_shape
(self)
omni_anomaly/recurrent_distribution.py:31
Methoddtype
(self)
omni_anomaly/wrapper.py:31
Methoddtype
(self)
omni_anomaly/recurrent_distribution.py:12
Methodfit
Import data to biSPOT object Parameters ---------- init_data : list, numpy.array or pandas.Series initial ba
omni_anomaly/spot.py:594
Methodfit
Import data to DSPOT object Parameters ---------- init_data : list, numpy.array or pandas.Series initial bat
omni_anomaly/spot.py:1113
Methodfit
Import data to biDSPOT object Parameters ---------- init_data : list, numpy.array or pandas.Series initial b
omni_anomaly/spot.py:1592
Methodget_batch_shape
(self)
omni_anomaly/wrapper.py:49
Methodget_batch_shape
(self)
omni_anomaly/recurrent_distribution.py:34
Methodget_score
Get the reconstruction probability for `x`. The larger `reconstruction probability`, the less likely a point is anomaly. Yo
omni_anomaly/model.py:150
Methodget_training_loss
Get the training loss for `x`. Args: x (tf.Tensor): 2-D `float32` :class:`tf.Tensor`, the windows of KPI
omni_anomaly/model.py:122
Methodget_value_shape
(self)
omni_anomaly/wrapper.py:42
Methodget_value_shape
(self)
omni_anomaly/recurrent_distribution.py:27
Methodinitialize
Run the calibration (initialization) step Parameters ---------- verbose : bool (default = True) If True, giv
omni_anomaly/spot.py:656
Methodinitialize
Run the calibration (initialization) step Parameters ---------- verbose : bool (default = True) If True, giv
omni_anomaly/spot.py:1175
Methodinitialize
Run the calibration (initialization) step Parameters ---------- verbose : bool (default = True) If True, giv
omni_anomaly/spot.py:1654
Methodis_continuous
(self)
omni_anomaly/wrapper.py:15
Methodis_continuous
(self)
omni_anomaly/recurrent_distribution.py:16
Methodis_reparameterized
Whether or not `z` is re-parameterized?
omni_anomaly/vae.py:244
Methodis_reparameterized
(self)
omni_anomaly/wrapper.py:35
Methodis_reparameterized
(self)
omni_anomaly/recurrent_distribution.py:20
Methodjac_w
(Y, t)
omni_anomaly/spot.py:322
Methodjac_w
(Y, t)
omni_anomaly/spot.py:806
Methodjac_w
(Y, t)
omni_anomaly/spot.py:1316
Methodjac_w
(Y, t)
omni_anomaly/spot.py:1806
next →1–100 of 142, ranked by callers