how to label features extracted from image using extractFeatures() and divide them in testing and training sets?
Mostrar comentarios más antiguos
if I use detectSURFFeatures() Then extractFeatures() for 47 images Then I need to split those features extracted from 47 images into training n testing sets also label them +1/-1 for svm how can I do it using matlab.
2 comentarios
chetna kaushal
el 2 de Ag. de 2019
can you help me in this too. how you resolved it
Fadi Alsuhimat
el 4 de Jun. de 2020
can you help me in this too, how you solved it?
Respuestas (2)
Image Analyst
el 24 de Oct. de 2015
0 votos
If you have the Statistics and Machine Learning toolbox, you can use randsample()
KJVKU999
el 29 de Oct. de 2015
0 votos
How many surf point you are using? Are you using all available points? You can use Classification Learner application available with statistics and machine learning toolbox.
Save your features in table format and load that table from the application. While making it in table format, also include one column named 'Label' wherein you can give class name or number.
Toolbox will take care of the training and testing once you specify validation method.
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!