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.

Antworten (1)

Walter Roberson
Walter Roberson am 20 Mai 2023

0 Stimmen

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

2 Kommentare

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.)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Parallel Computing finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 20 Mai 2023

Kommentiert:

am 10 Aug. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by