normalization operator


Is there an operator to transform values to a mean set to zero and confine the range to be within -1 to 1?
I've tried the GaussAttributeGeneration, but it doesn't give any spread; all values come out 0. Is this the way it was intended to be used?
<operator name="GaussAttributeGeneration" class="GaussAttributeGeneration" breakpoints="after">
<parameter key="attribute_name" value="BMI"/>
</operator>
Thanks!
I've tried the GaussAttributeGeneration, but it doesn't give any spread; all values come out 0. Is this the way it was intended to be used?
<operator name="GaussAttributeGeneration" class="GaussAttributeGeneration" breakpoints="after">
<parameter key="attribute_name" value="BMI"/>
</operator>
Thanks!
0
Answers
if you want to normalize your values, you will have to use the Normalization operator. It offers an option "Z-transformation" which will scale the data in a way, that the mean becomes zero and the standard deviation is 1.
And no: The GaussianAttributeGeneration will return the density value of a gaussian function with the specified mean and deviation on the position of the attribute value. Probably your attribute value is very high, so that it becomes nearly zero.
Greetings,
Sebastian
Thanks for your help!