How are normalize the inputs and outputs in Neural Networks in Matlab (in mathematical form or code please)?

5 ビュー (過去 30 日間)
How are normalize the inputs and outputs in Neural Networks in Matlab (in mathematical form or code please)?

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 6 月 8 日
The formula is given in the documentation you were referred to by Greg when you asked how to normalize the inputs.
Algorithm
It is assumed that X has only finite real values, and that the elements of each row are not all equal. (If xmax=xmin or if either xmax or xmin are non-finite, then y=x and no change occurs.)
y = (ymax-ymin)*(x-xmin)/(xmax-xmin) + ymin;

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by