Neural network: Target vector for 'None of the Above' class?
조회 수: 1 (최근 30일)
이전 댓글 표시
Say, I have a neural network system trained with 5 classes. When new image is given to the system it will give one class as output depending on the input vector. Now, if I use image of 6th class (system was not trained for 6th class), I have to prepare target vector for that image.
Can I set 0 to all 5 classes in the target vector for the image that belong to the 6th class? I think it will give me error: 'incorrect target vector'.
Do we have something from which we can get an output like: the image belongs to 'None of the above' classes based on input vector? is it mandatory to have output class from the trained classes only?
I mean I think, there has to be something like This image do not belong to any classes that you have trained. How can I prepare target vector for an image with the unknown class. I can't train for unknown class because I don't know the characteristic of the unknown class (say, 6th class).
If this is not possible with simple/shallow neural network, I think someone might suggest me to use Deep Neural Network, I don't want to use it because it requires more data to be accurate and I don't have that.
Thanks
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!