Regression output for LSTMs?

Hello,
I am trying to use LSTMlayers to properly predict my current 6 Degree of freedom orientation/position, using my Last Position and acceleration/angular momentum as inputs. My first important question: Is there any way to use LSTM layers with a regression output as of 2017b? Second:If so or if not, are there general implementation ideas for my problem?
thanks in advance.

3 Kommentare

Shounak Mitra
Shounak Mitra am 31 Okt. 2017
Hi David,
Regression Layers are not supported with 17b release. There are two options that I can think of:
1. Add your own custom regression layer: I understand that it's not convenient but it's not super difficult as well. See the heading 'Define Deep Layers': at https://www.mathworks.com/solutions/deep-learning/examples.html
2. Have you tried using Kalman Filters?
David Kuske
David Kuske am 2 Nov. 2017
Hello Shounak,
Thanks for the answer, 1) So it is possible to use the provided layers, including LSTM if i just write a custom regression output layer?
2) Its a possibility I might use, but not my first choice, calibration would always need to be perfect.
William Smith
William Smith am 14 Nov. 2017
Creating my own custom regression layer resulted in the same error: "Error using trainNetwork (line 140) Regression is not supported for networks with LSTM layers."

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 26 Okt. 2017

Kommentiert:

am 14 Nov. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by