Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7747045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:26:00+00:00 2026-06-01T10:26:00+00:00

I cannot figure the low accuracy obtained by running svm on speech vectors. I

  • 0

I cannot figure the low accuracy obtained by running svm on speech vectors. I have cross verified that the data is not wrong and have even used a naives bayes classifier on it to get good results.

First of all I should mention that I have verified that I am not using the same files for training and testing.

I have a set of data for positive and negative class that I use for training

  pos = ones(size(PositiveTraining,1),1);
  neg = ones(size(NegativeTraining,1),1)*-1;



  Training = [ PositiveTraining ; NegativeTraining ];
  TrainingLabels = [pos;neg];

  model = svmtrain( TrainingLabels , Training, '-t 0' );

After obtaining the model I am testing the vectors using the following code

testing_label_vector = ones(size(mfcc,1),1); % where mfcc is my testing matrix
[predicted_label, a, b ] = svmpredict(testing_label_vector, File.mfcc, model );
edges = [-1,1];
hist = histc( predicted_label , edges )

However I find accuracy ranging from 0% to 13% maximum.

Is there any thing that I am doing wrong ?

Assuming the data is correct can somebody suggest me how I can increase the accuracy of the classifier ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T10:26:02+00:00Added an answer on June 1, 2026 at 10:26 am

    You need to do parameter selection – you are just using the default parameters. SVM is very sensitive to its parameters. The linear kernel has no parameters, but you still have the penalty parameter C. This parameter trades off between a larger margin and misclassified training points. Larger C will mean that the classifier will try to classify all the training points correctly, but this may not generalize well. Smaller C will allow some points to be misclassified to provide a model that is less sensitive to noise. The value of C is different for every dataset, as it depends greatly on the scaling and distribution, etc. It’s also possible that your dataset is not linearly separable, even for low values of C, so perhaps a non-linear kernel would work better, such as the RBF kernel, which is popular. However, keep in mind those kernels have more parameters and they have to be tuned to work well.

    Read the guide written by the authors of libsvm, it talks about how to do parameter selection and gives other practical tips for using SVM for classification.

    A Practical Guide to Support Vector Classication by Chih-Wei Hsu, Chih-Chung Chang, and Chih-Jen Lin

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I cannot figure out how to get rid of errors that should not be
I cannot figure out why my array is not working, I have $carrier coming
I cannot figure out why this is not working. Can anyone explain to me
I cannot figure out why g++ is giving the following errors. I believe that
I cannot figure out why this Ajax request is not firing correctly. For simplicity's
I cannot figure this out. I need to have an abstract template base class,
I cannot figure out why the following function is not working. I will create
I cannot figure out how to use FastMM. I have downloaded it from SourceForge
I cannot figure out how to prove an existence is true or not; static
I cannot figure out why my calculation is not working. I am doing for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.