In DeepnetworkDesigner, is it possible to make output as a matrix?

조회 수: 1 (최근 30일)
Sierra
Sierra 2022년 12월 7일
답변: Muskan 2023년 3월 24일
I want to predict output as a matrix in LSTM(regression).
for example,
x1 = 4, x2 = 5, x3 = 7 and y = [1 0 0 1]
Thanks.

답변 (1개)

Muskan
Muskan 2023년 3월 24일
Hi Sierra,
As per my understanding of the question, you can follow the following steps to make output as a matrix in DeepNetworkDesigner:
i) Create a LSTM network, and configure it as per your requirements.
ii) Add an output layer.
iii) In the "Output" tab, set the number of outputs to be equal to the number of rows and columns of your desired output matrix and select "Regression" as the output type.
iv) Connect output layer to the last LSTM layer, and train your network.
v) After completing the training, the output will be a matrix with the dimensions as the output layer.
I hope the above information helps resolve your query.
Thanks.

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by