🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Applying Normalization Parameters of Training Set to Test Set

User: "JonesFox"
New Altair Community Member
Updated by Jocelyn
Hi,

before training a Neural Network the training set has to be normalized, e.g. with z-score. 
Before validating the model, one would also normalize the test set by using the normalization parameters obtained from the normalization of the training set. This is done to prevent information leakage through normalization.

In SKlearn this can be done by fitting a scaler on the training set (scaler_A.fit(training_data)) and normalizing the test set using the same scaler (scaler_A.transform(test_data))

How can this be achieved with the normalization block in RapidMiner?

Thanks!


Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "MartinLiebig"
    Altair Employee
    Accepted Answer
    Hi,
    thats why the Normalize has this pre port. Its a preprocessing model which you can apply on the test set like a normal model.

    Best,
    Martin