Created
July 15, 2018 16:52
-
-
Save NMZivkovic/08abb9e492c13547b286bcdef42e0696 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Performs the following operation on a vector X: Y = (X - M) / D, where M is mean and D is either L2 norm, L1 norm or LInf norm. | |
pipeline.Add(new LogMeanVarianceNormalizer("FeatureName")); | |
// Normalizes the data based on the computed mean and variance of the data. | |
pipeline.Add(new MeanVarianceNormalizer("FeatureName") { FixZero = true}); | |
// Normalize the columns only if needed. | |
pipeline.Add(new ConditionalNormalizer("FeatureName")); | |
// The values are assigned into equidensity bins and a value is mapped to its bin_number/ number_of_bins. | |
pipeline.Add(new BinNormalizer("FeatureName") { NumBins = 2}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment