MATLAB: How to customize the NARX neural network Input and Feedback Pre/Post-Processing Functions

mapminmaxnarxneural networksprocessfcns

Hi,
I am new to neural networks. I have 1 target and 4 external inputs and I need to customize the NARX neural network Input and Feedback Pre/Post-Processing Functions so as to map onto the range [0.2 0.8] instead of the default [-1 1]. How can I modify these two lines in my script, and what else can I do?
net.inputs{1}.processFcns = {'removeconstantrows','mapminmax'};
net.inputs{2}.processFcns = {'removeconstantrows','mapminmax'};
Thanks.

Best Answer

Why do you thin you "need" to do this transformation??
MAPMINMAX is designed to scale internal inputs, targets and outputs into a range that doesn't unnecessarily cause numerical innaccuracy in training function Jacobians or saturate sigmoid activation functions.
Changing from [-1,1] to something else does absolutely nothing useful.
The change of code is an unecessary complication that does nothing to improve the accuracy of the net.
Or am I missing something?
Hope this helps.
Thank you for formally accepting my answer (;>)
Greg