Does MATLAB normalizes the input by default when calling 'fitrnet'?

I am using "fitrnet" to construct a neural network model. However, I can not find any documentation about data normalization (mapping data between -1 and 1 or 0 and 1) in fitrnet.

Answers (1)

No. It only does that if "Standardize",true is requested. Mathworks recommends using standardize

2 Comments

Here there is a difference between normalization (mapping data between -1 and 1 or 0 and 1) and Standardization using the mean and the standard deviation of each predictor.
I want to know if the MATLAB normalize (mapping data between -1 and 1 or 0 and 1) the input or not?
You are right, the Standardize option does appear to have to do with mean and variance.
When I looked at the code, I did not see any evidence of normalization -- but I might have overlooked it (might perhaps have clicked Step Out too early in the debugger at some point.)

Sign in to comment.

Categories

Find more on Parallel Computing in Help Center and File Exchange

Asked:

on 20 May 2023

Commented:

on 10 Aug 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!