Filter löschen
Filter löschen

SVM Train and classify

2 Ansichten (letzte 30 Tage)
zohaib
zohaib am 28 Jan. 2018
Kommentiert: zohaib am 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 Kommentare
Image Analyst
Image Analyst am 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 am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by