Questions tagged [svmlight]

SVMLight is an implementation of a Support Vector Machine - supervised learning models with associated learning algorithms that analyze data and recognize patterns, used for classification and regression analysis.

The main features of the program are the the following:

  • fast optimization algorithm
    • working set selection based on steepest feasible descent
    • "shrinking" heuristic
    • caching of kernel evaluations
    • use of folding in the linear case
  • solves classification and regression problems. For multivariate and structured outputs use SVMstruct.
  • solves ranking problems (e. g. learning retrieval functions in STRIVER search engine).
  • computes XiAlpha-estimates of the error rate, the precision, and the recall
  • efficiently computes Leave-One-Out estimates of the error rate, the precision, and the recall
  • includes algorithm for approximately training large transductive SVMs (TSVMs) (see also Spectral Graph Transducer)
  • can train SVMs with cost models and example dependent costs
  • allows restarts from specified vector of dual variables
  • handles many thousands of support vectors
  • handles several hundred-thousands of training examples
  • supports standard kernel functions and lets you define your own
  • uses sparse vector representation
98 questions
0
votes
1 answer

Reading svmLigh format with h2o

Using the h2o R package (v 3.24.0.5) for some deeplearning, I need to import some big sparse matrix [2M * 10k] into it. I've tried using fwrite but got a cholmod problem too large error, so went with svmlight. Original matrix looks like this : …
Exenter
  • 23
  • 6
0
votes
1 answer

Convert text columns csv file to LibSVM or SVMLight format by the vectorization

The CSV with text columns (sentence features in column) to convert it to svmlight or libsvm format (numerical format) by the vectorization like bag of words, etc?
Java questioner
  • 157
  • 1
  • 4
  • 12
0
votes
0 answers

Grouped samples for svm classification

I'm trying to classify some samples in to two different classes. each sample contains several features. But the problem is these samples belong to specific groups and each feature represent some property of that specific group. generally my data…
Nima
  • 21
  • 2
0
votes
1 answer

How do I format IRIS data set for input to SVM-Light library?

I'm trying to use the SVM-Light library for training and classification of the IRIS dataset. Here is the python wrapper that I'm using. I'm currently following the example on the page but I'm not sure how to format the IRIS data correctly for input.…
lenignes
  • 333
  • 1
  • 5
  • 17
0
votes
2 answers

How is it possible use SVM Light inside the C++ code? (Possibly without invoking the executable from C++ code)

I have to use the tool SVM Light in my C++ code. I compiled and linked the SVM Light to my code like in http://svmlight.joachims.org/ but now how can I call ./svm_learn -v 0 -x 1 example1/train.dat example1/model for example from my C++ code…
Nick
  • 1,439
  • 2
  • 15
  • 28
0
votes
1 answer

Azure Machine Learning Web service Input Data Issue

I have created an Azure ML webservice as an example and face an unknown error when it comes to deploy a web service. The error comes without an explanation, so it's hard to trace. When running the experiment within the studio, the experiment was…
0
votes
1 answer

svm_light error "Features must be in increasing order"

Output from svm_learn train.dat model.out Scanning examples...done Reading examples into memory...100..200..300..400..500..Features must be in increasing order!!! : Undefined error: 0 LINE: -1 1:5 14:14 21:1 54:1 55:1 57:1 471:1 568:1 584:1 4686:1…
jchook
  • 6,690
  • 5
  • 38
  • 40
0
votes
1 answer

SVMLight: How can I build a classifier?

I'm trying to use SVMLight to build a classifier to detect if a Noun Phrase(NP) is anaphoric or not. I have my features but I'm stuck at understanding the format of the input file, should I translate all my text to this format or I put only the NP…
AbirH
  • 63
  • 1
  • 1
  • 9
0
votes
1 answer

How to create the train file for svm light when a word occurs many times in a sentence

I am using SVM-Light (at website http://svmlight.joachims.org/). I want to ask you an issue. I have a sentence "He is smart and he is a good student". This sentence is a positive sentence. When I create a list of word from this sentence, I will have…
0
votes
1 answer

Why does SVMLite misclassify with few training inputs?

I am using SVM Light to classify images that are processed with OpenCV. Images are made to B/W, blurred a little, and the HOG detector from opencv is used to create a feature vector with vectors from positive images labeled with a 1 and negative…
0
votes
0 answers

SVM-Rank: reduce run time

I'm using svm rank that is implemented based on svm light, my data set consists of 50k samples with 2000 features. The svm_rank is running for 3 days and the iteration is over 5000 is this reasonable? I'm new to ml field and I need to use ranking…
Samah
  • 15
  • 4
0
votes
1 answer

how to represent Categorical features for LIBSVM

I have an attribute that can have 3 values. Should my line be as +1 1:(0,0,1) 2:90 -1 1:(1,0,0) 2:67 .....
KKa
  • 408
  • 4
  • 19
0
votes
2 answers

SVM-Light displays corrupted precision/recall results

I run SVM-Light classifier but the recall/precision row it outputs seem to be corrupted: Reading model...OK. (20 support vectors read) Classifying test examples..100..200..done Runtime (without IO) in cpu-seconds: 0.00 Accuracy on test set: 95.50%…
zvisofer
  • 1,346
  • 18
  • 41
0
votes
1 answer

how to use svmlight model file to detect object in opencv using c++

I am using OpenCV , C++ and trying to detect object in images. Till now what i have done. 1. from small image(108x64) patch i extracted desired 6200(from one patch) feature. Then i wrote these feature in train.txt and test.txt file in svmLight…
Kaushal Joshi
  • 33
  • 1
  • 1
  • 7
0
votes
0 answers

SVM: one_vs_rest error

I use libsvm to do SVM Classification and I use one-over-rest method. The problem is when I run the following command, I found the values for "accuracy" are not all real numbers, there is NaN in it. Can anyone tell me how to fix the problem? Thank…
Angelababy
  • 247
  • 3
  • 7
  • 16