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 7755423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T12:33:56+00:00 2026-06-01T12:33:56+00:00

I have been using the lib-svm binaries for classification of my data. For training

  • 0

I have been using the lib-svm binaries for classification of my data.

For training I use the below command

`svm-train.exe -s 0 -t 2 -c 0.03125 -g 0.25 file.train file.train.model’

and get the following results

optimization finished, #iter = 10
nu = 1.000000
obj = -0.625000, rho = -0.000000
nSV = 20, nBSV = 20
Total nSV = 20

Now since I am using the rbf kernel in training set do I not have to include that in test data ?

`svm-predict.exe -s 0 -t 2 -c 0.03125 -g 0.25 file.test file.train.model file.out’

and i get

Unknown option: -s

Using the above command without any parameters works fine….

But I wanted to know that does libsvm automatically use the rbf kernel for testing ?

  • 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-01T12:33:57+00:00Added an answer on June 1, 2026 at 12:33 pm

    libsvm stores all the necessary information in the model file that is created from training, so no you don’t need to include those parameters, it will know what kernel and parameters to use. You only need to supply the model file and the test data.

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

Sidebar

Related Questions

We have been using Microsoft Enterprise Lib for data access, some old legacy code
I'm building some predictive models in Python and have been using scikits learn's SVM
I have been using the block of code below to supposedly stop sql injections.
I have wav file in which using the naudio lib i have been able
I have been using Visual Studio integrated with Source Safe for years, when I
I have been using this code with great success to pull out the first
I have been using the CodeIgniter system for a while now - but it
I have been using a noscript tag to show a warning when users have
I have been using WPF for a few years now and don't have any
I have been using Weblogic as my company used it. Now I want to

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.