Z-Trasformation
cristiano
New Altair Community Member
Dear listers,
I've build a model with some Z-transformed variables,
I should pre-transform the variables than apply the model, but the transformation is affected by the mean and the standard deviation of the new dataset values.
So If I apply the model and his rules on the new dataset, the prediction is not always the same, is related to the 'shape' of the new data.
Where I'm wrong?
Thanks for your attention.
Cristiano.
I've build a model with some Z-transformed variables,
I should pre-transform the variables than apply the model, but the transformation is affected by the mean and the standard deviation of the new dataset values.
So If I apply the model and his rules on the new dataset, the prediction is not always the same, is related to the 'shape' of the new data.
Where I'm wrong?
Thanks for your attention.
Cristiano.
Tagged:
0
Answers
-
Hi Cristiano,
the Normalization operator will return a preprocessing model. This contains the 'shape' (mean and std. deviation) of the original data and can be applied on new data.
Simply apply the preprocessing model first, the the prediction model...
Greetings,
Sebastian0 -
WOW
Thanks for your support!
So I should use 2 'Apply Model' , the first is for preprocessing and the second for the model,
In the first node:
the model input is the proprocessing output of the normalized original data
data: normalized new data
In the second node:
the model input is the original model
data: labeled data of the first node(normalized new data)
Is it correct?
Thanks again for your attention.
Cristiano.
0 -
Yes, correct0
-
Thanks Sebastian,Sebastian Land wrote:
Yes, correct
when I read the content of preprocessing model I see:
Normalize 33 attributes to mean 0 and variance 1.
Using var1 --> mean 0.1
... 28 more attributes ...
How I see other normalize parameter's attributes?
Thanks for your support.
Cristiano.0 -
cristiano wrote:
Thanks Sebastian,
when I read the content of preprocessing model I see:
Normalize 33 attributes to mean 0 and variance 1.
Using var1 --> mean 0.1
... 28 more attributes ...
How I see other normalize parameter's attributes?
Thanks for your support.
You can write the parameters with 'WriteModel' Operator, easy isn't it? ,)
Cristiano.
0 -
Hi,
which other parameters?
Greetings,
Sebastian0 -
Hi,Sebastian Land wrote:
Hi,
which other parameters?
Greetings,
Sebastian
Just mean and variance.
C.0 -
Ups,
they aren't shown? Hm. Please make a feature request for that. Normally this should be displayable, since I saw that it is saved in the models.
Greetings,
Sebastian0