Effacer les filtres
Effacer les filtres

SVM Train and classify

2 vues (au cours des 30 derniers jours)
zohaib
zohaib le 28 Jan 2018
Commenté : zohaib le 29 Jan 2018
I am trying to run this speech recognition code but its giving errors in svmtrain function. Data set i am using consists of 8 speech signals. Speech recognition
Please help regarding this to run this code.
  5 commentaires
Image Analyst
Image Analyst le 28 Jan 2018
I fixed your formatting, but please read this for next time.
This does nothing:
Characterstring = Characterstring(1:end);
You're just setting the array equal to itself. According to the error, it wants net_TrainingSet and net_Labels to have the same number of rows, and you don't have that. Why not? How many rows DO you have in each array and why did you not set it up so that they were the same?
zohaib
zohaib le 29 Jan 2018
Thanks for your response. I am new to matlab and not good at it, i am attaching the code with modified code Run and dataset also. Please guide me how to fix this issue. how we can set rows of labels and training data. Wait for your help.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by