neural network target data

1 回表示 (過去 30 日間)
Ingrid
Ingrid 2015 年 8 月 28 日
回答済み: Greg Heath 2015 年 8 月 29 日
is it possible in matlab to have an aggregated target data
for example, my target data are average daily values but I want my neural network to predict hourly values since all my input is on an hourly time basis. Can I add a processing function to the output (like histc and accumarray to obtain the average daily values from hourly values) so that the NN is trained to the daily values that I have?
Below the bare bones of code of the NN I am currently using
net = fitnet(10);
[net,tr] = train(net,inputs,targets);
  1 件のコメント
Greg Heath
Greg Heath 2015 年 8 月 28 日
How is the averaging done?
y(i) = mean(x(i-11:i)
or
y(i) = mean(x(i-6:i+5))
?

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

採用された回答

Greg Heath
Greg Heath 2015 年 8 月 29 日
If you are going to try to predict hourly values, forget about your daily average data. I don't see it helping at all.
Just use the input-delay time series function
help timedelaynet
doc timedelaynet.
Hope this helps.
Thank you for formally accepting my answer
Greg

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by