DynamicNormalizer | R Documentation |
R6 class that implements the unsupervised dynamic z-score standardization proposed by Bollegala. This method allows normalizing the data sets in an online manner, by z-score standardization, dynamically updating the mean and the variance whenever a new data arrives.
new()
Create a new DynamicNormalizer object.
DynamicNormalizer$new()
A new DynamicNormalizer object.
normalize()
Normalizes the current data value.
DynamicNormalizer$normalize(x)
x
Current data value to be normalized.
If return_point = FALSE
then normalized current window is returned, else,
normalized current data point is returned.
denormalize()
Denormalizes the current data value.
DynamicNormalizer$denormalize(y)
y
Current data value to be denormalized.
Denormalized current data point.
D. Bollegala, Dynamic feature scaling for online learning of binary classifiers, Knowledge-Based Syst., vol. 129, pp. 97–105, 2017.
normalizer <- DynamicNormalizer$new() normalizer$normalize(10) normalizer$normalize(15) normalizer$normalize(20) normalizer$normalize(10) normalizer$normalize(30) normalizer$normalize(15) normalizer$denormalize(-0.2214036)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.