A neural network performing both regression and classification

4 ビュー (過去 30 日間)
Salma Matoussi
Salma Matoussi 2020 年 3 月 28 日
回答済み: Srivardhan Gadila 2020 年 3 月 31 日
Hi,
I would like to build a neural network input matrix of [12*1000], i.e., 1000 samples, each with 12 fields and an output matrix of [3*1000], i.e., 1000 samples, each with 3 fields . However, I want that 1st and 3rd output field have integer values in a specific range ( neural network is performing classification) and the second field i has decimal values in [0,1] ( neural network is performing regression). How can I do this ?
Thanks in advance

回答 (1 件)

Srivardhan Gadila
Srivardhan Gadila 2020 年 3 月 31 日
In Deep Learning Toolbox™, you can define network architectures with multiple inputs (for example, networks trained on multiple sources and types of data) or multiple outputs (for example, networks that predicts both classification and regression responses). Refer to Multiple-Input and Multiple-Output Networks

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by