How to normalize new inputs with mapminmax ?

Illustration
Hamza_ali - 2021-07-16T09:54:26+00:00
Question: How to normalize new inputs with mapminmax ?

Hello, I have normalized my data with mapminmax which gives values between -1 and 1. However, when I present new inputs to my network, knowing that the max of these is greater than the maximum of the training data, I will have As the normalization interval [-1,1.5]. what do you think ?  

Expert Answer

Profile picture of Kshitij Singh Kshitij Singh answered . 2025-11-20

You do not HAVE to normalize anything because the neural net AUTOMATICALLY normalizes input and target to [-1,1].
 
HOWEVER, I RECOMMEND USING MAPSTD BEFORE TRAINING in order to detect and either modify or remove outliers.
 
My advice:
 
 
 1. Size input and target matrices
 2. Plot x, t, and t vs x 
 3. Apply MAPSTD to deal with outliers
 4. If outliers are modified or removed, 
   replot the affected variables.
 5. Train and obtain e = t-y
 6. plot  y & t and e


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!