How to normalize a data serie which have negative and positive values for Prediction through ANN?
1 回表示 (過去 30 日間)
古いコメントを表示
Hey,
I want normalize a data serie for prediction. The serie has negative and positive data.
First question, can I normalize data between 0 and 1 or should I normalize it between -1 and 1?
Second question, how do I normalize between -1 and 1?
Thank you
採用された回答
Amit
2014 年 1 月 22 日
I dont know what is ANN.
But for normal scenarios, lets say your data is variable A.
factor = max([max(A) abs(min(A))]);
normalized_data = A/factor;
その他の回答 (1 件)
Greg Heath
2014 年 1 月 22 日
編集済み: Greg Heath
2014 年 1 月 22 日
Normalization to [ -1, 1] is a default for most of the ANN functions. This includes the most important timeseries functions timedelaynet, narnet and narxnet.
Details are available in the help and doc documentation. For example,
help narxnet
doc narxnet
Hope this helps.
Thank you for formally accepting my answer
Greg
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Sequence and Numeric Feature Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!