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.

回答 (1 件)

Walter Roberson
Walter Roberson 2023 年 5 月 20 日

0 投票

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

2 件のコメント

ali eftekhar
ali eftekhar 2023 年 8 月 10 日
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?
Walter Roberson
Walter Roberson 2023 年 8 月 10 日
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.)

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeParallel Computing についてさらに検索

質問済み:

2023 年 5 月 20 日

コメント済み:

2023 年 8 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by