combining classification from 2 different NN , on two different datasets
古いコメントを表示
we have two diffrent datasets to be utilised for 2 different NN (classification type) and decision be made on results of both,eg if one has got defect in eye (retina dataset and iris dataset)
how to implement in the code?
回答 (1 件)
Abhishek Gupta
2020 年 12 月 22 日
0 投票
Hi,
As per my understanding, you want to train two different Neural Network on two different datasets for the classification problem. This task can be achieved by implementing and training two neural networks separately on the two datasets. After training, you can use these trained networks to make the prediction and then can compare the predictions at the same time.
The following documentation would help you in creating a simple network for classification: -
5 件のコメント
Yogini Prabhu
2020 年 12 月 26 日
Abhishek Gupta
2020 年 12 月 27 日
I see. One way to get a single prediction would be as follows: -
- Create a network for each dataset to convert your input into a feature vector (let's say of size 10x1 for each dataset).
- Combine the feature vectors from the above two networks into one vector (concatenate the vectors to get 20x1 column vector). This combined vector will contain the input features from the two datasets.
- Use the combined feature vector as your input and train another network to make your final predictions, whose output would be a single value.
I hope this would help!
Yogini Prabhu
2020 年 12 月 27 日
Abhishek Gupta
2020 年 12 月 27 日
For your problem, I would suggest you use Deep Network Designer instead, which will help you to create a customized network as described above. Here is the documentation link which might help you in getting started: -
Yogini Prabhu
2020 年 12 月 28 日
カテゴリ
ヘルプ センター および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!