Deep learning with vector output

5 ビュー (過去 30 日間)
Samuli Siltanen
Samuli Siltanen 2019 年 8 月 26 日
コメント済み: Samuli Siltanen 2019 年 8 月 30 日
I need to learn a mapping from 28x28 images into a vector of 45 floating-point numbers. This is not really classification as the numbers range between -1 and 1.
When designing a deep neural network, what output layer could I use?
Best,
Samuli Siltanen

回答 (1 件)

Asvin Kumar
Asvin Kumar 2019 年 8 月 29 日
You can use the tanhLayer to obtain output values in the range of –1 to 1.
  3 件のコメント
Asvin Kumar
Asvin Kumar 2019 年 8 月 30 日
For the output layer, you can use a regressionLayer after the tanhLayer. This will produce predictions in the required range and compute the half-mean-squared-error loss.
Samuli Siltanen
Samuli Siltanen 2019 年 8 月 30 日
Thank you so much! I will try this. Samu

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

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by