How to create a dataset of my own to be used in nprtool (neural network toolbox) ?
2 次查看(过去 30 天)
显示 更早的评论
I have 5 classes of images each contains at least 10 images, I extract 9 features from this images and represent features of each class of images in a matrix (example: 10x9 matrix - class1).. Still in variables in my script of the GUI program of my own too.
So how could I input this dataset to the neural network toolbox and to be used in the nprtool?
Also I'm sorry but I really didn't get it, Is it used for clustering so it clasture all the dataset into classes after all or classifier so if I trained it and input a new image features it classify it according to its class.
Thank you in advance.
0 个评论
采纳的回答
Greg Heath
2015-12-10
For classification use patternnet with
[ I N ] = size(input) % [ 9 50 ]
[ O N ] = size(target) % [ 5 50 ]
% Columns of target are columns of eye(5); e.g., repmat(eye(5),1,10)
For documentation
help patternnet
doc patternnet
Hope this helps.
Thank you for formally accepting my answer
Greg
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!