The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Applying Normalization Parameters of Training Set to Test Set

JonesFoxJonesFox Member Posts: 5 Learner I
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!


Tagged:

Best Answer

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Solution Accepted
    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
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.