CNNでラベルの代わ​りにデジタル値で学習​することはできますか​?

一つの画像に一つのデジタル値が対応付けられているデータセットを用いて、CNNを学習させたいのですが可能でしょうか。 ご教授頂けたら幸いです。 宜しくお願い致します。

4 Comments

Walter Roberson
Walter Roberson on 15 Sep 2016
Approximate translation:
Is it possible to learn in the digital value instead of the label at CNN?
Using a data set that one of the digital value is associated with one of the image, whether it would be possible, but I want to learn the CNN. We hope you enjoy Professor.
Soya
Soya on 15 Sep 2016
thank you for answer.
"Is it possible to learn in the digital value instead of the label at CNN?"
It is exactly my point of question.
You mean that it is possible to train CNN using a data set that one of the digital value is associated with one of the image?
If it is possible in MATLAB, is the final layer "SoftmaxLayer", not "ClassificationOutputLayer", in training CNN?
michio
michio on 16 Sep 2016
デジタル値自体をラベルとして扱い、離散のクラスに分類(classification)するのではなく、回帰(regression)をさせたいということでしょうか。
Soya
Soya on 16 Sep 2016
Michio 様
コメントありがとうございます。 そうなります、CNNで"分類ではなく、回帰させたい"がやりたいことです。 これをMATLABで行うことは可能でしょうか? 勉強不足で申し訳ありませんが、ご教授頂けたら幸いです。宜しくお願い致します。

Sign in to comment.

 Accepted Answer

mizuki
mizuki on 17 Sep 2016

3 votes

はい、可能です。ただし、CNN の回帰の層はまだサポートされていません。現在の最新版 R2016b で回帰の CNN を行うには、あらかじめ学習した特徴量を再利用する転移学習という方法を使用します。
CNN特徴 + 分類 ですが、Computer Vision System Toolbox のドキュメントに転移学習の例があります。
この例では、AlexNet という学習した特徴量を SVM の関数 fitcecoc で分類しています。Soyaさんは回帰をされたいとのことでしたので、この後半の部分を回帰の関数に置き換えると良いかと思います。
よくわからない点がありましたら、また追加でご質問ください。

2 Comments

Soya
Soya on 21 Sep 2016
mizuki 様
ありがとうございます。例の後半をfitrsvmに置き換えてみます。 またなにかありましたら宜しくお願い致します。
mizuki
mizuki on 3 Apr 2017
補足情報ですが、R2017a の Neural Network Toolbox の新機能として regressionLayer がリリースされました。この関数を使って CNN 回帰を実行することができます。
具体的な使用方法については以下ドキュメントに例がありますのでご覧ください。

Sign in to comment.

More Answers (0)

Asked:

on 15 Sep 2016

Commented:

on 3 Apr 2017

Community Treasure Hunt

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

Start Hunting!