CNNの回帰について

2 visualizaciones (últimos 30 días)
kouhei maeda
kouhei maeda el 27 de Nov. de 2019
Comentada: kouhei maeda el 10 de Dic. de 2019
1つのデータを入力して,複数の予測を同時に行うCNNを作成することは可能でしょうか?
具体的には,回帰のCNNの,出力層を複数にする方法が知りたいです.
出力データの設定方法(300×1 double,1×300 double, 1×1×300 double など),下記のプログラムで変更する箇所などです.
layers = [
imageInputLayer([101 121 1])
convolution2dLayer(3,16,'Padding','same')
batchNormalizationLayer
reluLayer
averagePooling2dLayer(2,'Stride',2)
convolution2dLayer(3,32,'Padding','same')
batchNormalizationLayer
reluLayer
averagePooling2dLayer(2,'Stride',2)
dropoutLayer(0.2)
fullyConnectedLayer(1)
regressionLayer];

Respuesta aceptada

Kenta
Kenta el 27 de Nov. de 2019
こんにちは、最後の、 fullyConnectedLayer(1)を fullyConnectedLayer(300)とすればよいです。
予測ラベルのほうも300*データ数(または、データ数*300)という形式にして、
あとは、ドキュメントと同様に進めればできると思います。
  1 comentario
kouhei maeda
kouhei maeda el 10 de Dic. de 2019
ご回答ありがとうございます.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Statistics and Machine Learning Toolbox 入門 en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!