SVM Train and classify

2 次查看(过去 30 天)
zohaib
zohaib 2018-1-28
评论: zohaib 2018-1-29
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 个评论
Image Analyst
Image Analyst 2018-1-28
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 2018-1-29
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by