target and input matrix in Neural network (ANN)
이전 댓글 표시
Hi. I'm trying to learn Artificial Neural Network in Matlab and i want to do a simple task of recognizing if an image is a flower or not. So, i have taken 2 pictures of flowers and extracted 8 features from each of them which means i have 16 features in total. I'm using GUI instead of matlab commands to train my network. My question is how do i define the input and target matrix? in=[fa1, fb1 ; fa2, fb2 ;fa3, fb3 ;fa4, fb4 ;fa5, fb5 ;fa6, fb6 ;fa7, fb7 ;fa8, fb8]
where fa1 is the first feature of the first sample image and so on and fb1 is the first feature of the second sample image and so on
is this the correct way to define the input matrix? or do i use this matrix
in=[fa1, fa2, fa3, fa4 ,fa5, fa6 ,fa7, fa8 ;fb1, fb2 ,fb3, fb4 ,fb5, fb6 ,fb7, fb8]
Also, how do i define the target matrix? what will be the size of the target matrix? should it constitute of only 0s and 1s?
And lastly, once i've trained my network, how will i use it to determine if an unknown image is a flower or not?
Thank you
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!