MCPcopy Create free account

hub / github.com/NetManAIOps/donut / functions

Functions68 in github.com/NetManAIOps/donut

↓ 16 callersMethodget_iterator
Iterate through the sliding windows of each array in `arrays`. This method is not re-entrant, i.e., calling :meth:`get_iterator`
donut/utils.py:96
↓ 11 callersMethodget_score
Get the `reconstruction probability` of specified KPI observations. The larger `reconstruction probability`, the less likely a point
donut/prediction.py:94
↓ 11 callersFunctionmasked_reconstruct
Replace masked elements of `x` with reconstructed outputs. This method can be used to do missing data imputation on `x`, with the recons
donut/reconstruction.py:7
↓ 10 callersMethodget_score
Get the reconstruction probability for `x` and `y`. The larger `reconstruction probability`, the less likely a point is anom
donut/model.py:163
↓ 9 callersMethod_check_output
(self, iterator, answer)
tests/test_utils.py:36
↓ 9 callersFunctioncomplete_timestamp
Complete `timestamp` such that the time interval is homogeneous. Zeros will be inserted into each array in `arrays`, at missing points.
donut/preprocessing.py:6
↓ 8 callersMethodfit
Train the :class:`Donut` model with given data. Args: values (np.ndarray): 1-D `float32` array, the standardized
donut/training.py:188
↓ 7 callersFunctionstandardize_kpi
Standardize a Args: values (np.ndarray): 1-D `float32` array, the KPI observations. mean (float): If not :obj:`None`, will us
donut/preprocessing.py:72
↓ 6 callersMethodaugment
Generate augmented data. Args: values (np.ndarray): 1-D float32 array of shape `(data_length,)`, the sta
donut/augmentation.py:23
↓ 6 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
donut/utils.py:6
↓ 5 callersMethodget_training_loss
Get the training loss for `x` and `y`. Args: x (tf.Tensor): 2-D `float32` :class:`tf.Tensor`, the windows of
donut/model.py:124
↓ 4 callersFunctioniterative_masked_reconstruct
Iteratively reconstruct `x` with `mask` for `iter_count` times. This method will call :func:`masked_reconstruct` for `iter_count` times,
donut/reconstruction.py:71
↓ 4 callersMethodmodel
Get the :class:`Donut` model instance. Returns: Donut: The :class:`Donut` model instance.
donut/training.py:179
↓ 3 callersMethod_payload
(self)
tests/test_training.py:18
↓ 2 callersFunctionread_file
(path)
setup.py:19
↓ 1 callersMethod__init__
(self, mean, std)
donut/augmentation.py:17
↓ 1 callersMethod_augment
Derived classes should override this to actually implement the data augmentation algorithm.
donut/augmentation.py:52
↓ 1 callersMethod_get_score
(self)
donut/prediction.py:60
↓ 1 callersMethod_get_score_without_y
(self)
donut/prediction.py:73
↓ 1 callersMethodmean
Get the mean of the training data.
donut/augmentation.py:60
↓ 1 callersMethodstd
Get the standard deviation of training data.
donut/augmentation.py:65
Method__init__
(self, vae)
tests/test_model.py:74
Method__init__
(self, mean, std, missing_rate)
donut/augmentation.py:80
Method__init__
(self, array_size, window_size, batch_size, excludes=None, shuffle=False, ignore_incomplete_b
donut/utils.py:54
Method__init__
(self, model, n_z=1024, mcmc_iteration=10, batch_size=32, feed_dict=None, last_point_only=Tru
donut/prediction.py:37
Method__init__
(self, model, model_vs=None, n_z=None, feed_dict=None, valid_feed_dict=None,
donut/training.py:71
Method__init__
(self, h_for_p_x, h_for_q_z, x_dims, z_dims, std_epsilon=1e-4, name=None, scope=None)
donut/model.py:59
Method_augment
(self, values, labels, missing)
donut/augmentation.py:89
Method_variational
(self, x, z=None, n_z=None)
tests/test_model.py:80
Methodget_donut
()
tests/test_model.py:28
Methodget_training_objective
(self, *args, **kwargs)
donut/model.py:158
Methodmissing_rate
Get the ratio of missing points to inject.
donut/augmentation.py:85
Methodmklabel
(p=.01, n=1000)
tests/test_training.py:19
Methodmodel
Get the :class:`Donut` model instance. Returns: Donut: The :class:`Donut` model instance.
donut/prediction.py:85
Methodr_prob
(x, z, n_z=None, x_in=None)
tests/test_model.py:179
Functionsoftplus_std
(inputs, units, epsilon, name)
donut/model.py:18
Methodtest_apply_mean_std
(self)
tests/test_preprocessing.py:88
Methodtest_arrays
(self)
tests/test_preprocessing.py:40
Methodtest_augment
(self)
tests/test_augmentation.py:23
Methodtest_augment
(self)
tests/test_augmentation.py:54
Methodtest_basic
(self)
tests/test_utils.py:66
Methodtest_compute_mean_std
(self)
tests/test_preprocessing.py:74
Methodtest_construction
(self)
tests/test_utils.py:44
Methodtest_construction_args
(self)
tests/test_training.py:53
Methodtest_dynamic
(self)
tests/test_reconstruction.py:53
Methodtest_error_construction
(self)
tests/test_model.py:58
Methodtest_errors
(self)
tests/test_preprocessing.py:94
Methodtest_excludes
(self)
tests/test_utils.py:174
Methodtest_fit
(self)
tests/test_training.py:33
Methodtest_fit_args
(self)
tests/test_training.py:94
Methodtest_get_score
(self)
tests/test_model.py:148
Methodtest_ignore_incomplete
(self)
tests/test_utils.py:107
Methodtest_iterative_masked_reconstruct
(self)
tests/test_reconstruction.py:81
Methodtest_minibatch_slices_iterator
(self)
tests/test_utils.py:11
Methodtest_prediction
(self)
tests/test_prediction.py:20
Methodtest_props
(self)
tests/test_model.py:14
Methodtest_props
(self)
tests/test_augmentation.py:13
Methodtest_props
(self)
tests/test_augmentation.py:50
Methodtest_shuffle
(self)
tests/test_utils.py:152
Methodtest_static
(self)
tests/test_reconstruction.py:11
Methodtest_timestamp
(self)
tests/test_preprocessing.py:11
Methodtest_training_loss
(self)
tests/test_model.py:72
Methodtest_validate_arrays
(self)
tests/test_utils.py:57
Methodtest_variable_reuse
(self)
tests/test_model.py:26
Methodvae
Get the VAE object of this :class:`Donut` model. Returns: VAE: The VAE object of this model.
donut/model.py:115
Functionwrap_params_net
(inputs, h_for_dist, mean_layer, std_layer)
donut/model.py:22
Methodx_dims
Get the number of `x` dimensions.
donut/model.py:105
Methodz_dims
Get the number of `z` dimensions.
donut/model.py:110