Hello, I would like to create a recurrent neural network for a regression problem. I'd like to use a LSTM network with a continuous output, but I'm getting an error when building the network with a LSTM Layer and Regression Layer: "Regression is not supported for networks with LSTM layers."
Is there a way I can work around this to have a simple, continuous output from -1 to 1 instead of just a classification?
My input is [720 10] - there are 720 features and 10 samples over time. The feature values are roughly between -10 and 30. My output should be [12 1] - there are twelve output variables and each has a value ranging from -1 to 1.
Thanks, Jake

댓글 수: 3

For N pairs of I-dimensional inputs and corresponding O-dimensional "O"utput targets, the matrix dimensiona are
[ I N ] = size(input)
[O N ] = size(target)
with, typically,
N > 10*max(I,O)
It is not clear to me what your values of I, O and N are
Jake
Jake 2017년 10월 24일
The time sequence data is continuous. The input features are adjustable. The length of a given sequence is adjustable as well.
The question is more, how do I get MATLAB neural network with an LSTM layer to work with a regression layer...
Michael Henderson
Michael Henderson 2017년 12월 5일
Can an LSTM layer be used with a regression layer?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2017년 10월 8일

댓글:

2017년 12월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by