Azzera filtri
Azzera filtri

SVM Train and classify

2 visualizzazioni (ultimi 30 giorni)
zohaib
zohaib il 28 Gen 2018
Commentato: zohaib il 29 Gen 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 Commenti
Image Analyst
Image Analyst il 28 Gen 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 il 29 Gen 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by