libsvm Questions

3

Solved

I have a "training set" of images. I have formed the 'Eigenspace'. Now i need to label the projections to train the SVM. The projections of "face 1" to the Eigenspace has to be labelled +1 and the ...
Noncombatant asked 29/1, 2014 at 9:25

1

Solved

Documentation here. I'm wondering how important the coef0 parameter is for SVCs under the polynomial and sigmoid kernels. As I understand it, it is the intercept term, just a constant as in linea...
Tache asked 27/1, 2014 at 20:6

1

Solved

I am trying to train an svm for a simple xor problem programmatically using libsvm to understand how the library works. The problem (i think) seems to be that i construct svm_node incorrectly; mayb...
Celebration asked 22/1, 2014 at 20:30

2

Solved

I am using LIBSVM to do a simple XOR classification programmatically, trying to understand how the functions work. I have set up the problem following the instructions in the Readme as close as pos...
Huertas asked 7/1, 2014 at 21:14

1

Solved

I'm trying to do the following simple classification using the LinearSVC object in scikit-learn. I've tried using both version 0.10 and 0.14. Using the code: from sklearn.svm import LinearSVC, SVC...
Undistinguished asked 17/12, 2013 at 1:32

2

Solved

What should be the relation between the number of training samples and the dimensionality of the training data? For example, I am having a case with 20000 training samples with 16000 features. I a...
Testy asked 6/11, 2013 at 13:33

4

Solved

I am running SVMStruct = svmtrain(xTrain, yTrain); and the error I get is Undefined function or method 'svmtrain' for input arguments of type 'double' I am pretty sure xTrain and yTrain are m...
Alvira asked 11/4, 2012 at 23:6

3

Solved

I have a data set to classify.By using KNN algo i am getting an accuracy of 90% but whereas by using SVM i just able to get over 70%. Is SVM not better than KNN. I know this might be stupid to ask ...
Split asked 17/10, 2013 at 8:43

1

I have multiProcessing.Process objects whose target functions take input and output queue. To the output queue they put some data, that is a wrapped ctypes structure with internal pointers. Of cou...
Chopfallen asked 24/9, 2013 at 8:51

1

Solved

I have implemented an OpenCV/C++ wrapper for libsvm. When doing a grid-search for SVM parameters (RBF kernel), the prediction always returns the same label. I have created artificial data sets whic...
Bertsche asked 15/9, 2013 at 19:37

1

I'd like to do some data mining on functions stacktraces, for this I am using libsvm and representing the data in a sparse format for speed of processing, each stacktrace is an instance and the var...
Lukey asked 9/9, 2013 at 10:49

3

Solved

I am currently working on a project where I have to extract the facial expression of a user (only one user at a time from a webcam) like sad or happy. My method for classifying facial expressions ...
Semipostal asked 5/9, 2013 at 15:50

1

Duplicate calculating Precision, Recall and F Score I have a input file with text description and classified level (i.e.levelA and levelB). I want to write a SVM classifier that measure precision,...
Teddy asked 11/7, 2013 at 9:42

1

I want to calculate the precision, recall and f-score using libsvm in Python but I do not know how. I have found this site but I have not understand how to call the function, if you can help me thr...
Trull asked 4/6, 2013 at 21:40

1

Solved

I'm porting an algorithm that uses a Support Vector Machine from Python (using scikit-learn) to C++ (using the machine learning library of OpenCV). I have access to the trained SVM in Python, and ...
Ways asked 30/5, 2013 at 9:32

5

I have simple xor problem that I want to learn using the RBF kernel in libsvm. When I train the java libsvm using an XOR problem like: x y 0,0 -1 0,1 1 1,0 1 1,1 -1 The result I get for classi...
Gayn asked 13/5, 2011 at 7:20

2

Which is the actual computational complexity of the learning phase of SVM (let's say, that implemented in LibSVM)? Thank you
Tamarau asked 16/5, 2013 at 10:50

2

Solved

i want to know how libsvm works. I tried this code in this link [1]: 10 fold cross-validation in one-against-all SVM (using LibSVM) . It's working (I havent added path libsvm library in matlab) but...
Saiz asked 22/3, 2013 at 11:17

1

Solved

I am trying to train a SVM with the Matlab interface of LibSVM, but I get following error model = svmtrain(Classes(train),Attributes(train,:),'-s 0 -t 2'); ??? Error using ==> svmtrain at 17...
Peeler asked 25/3, 2013 at 16:12

2

Solved

I am using a multi-dimensional SVM classifier (SVM.NET, a wrapper for libSVM) to classify a set of features. Given an SVM model, is it possible to incorporate new training data without having to r...
Doak asked 19/10, 2010 at 10:38

4

In a particular application I was in need of machine learning (I know the things I studied in my undergraduate course). I used Support Vector Machines and got the problem solved. Its working fine. ...
Dettmer asked 10/8, 2010 at 6:41

2

Solved

I want to do a 10-fold cross-validation in my one-against-all support vector machine classification in MATLAB. I tried to somehow mix these two related answers: Multi-class classification in lib...
Gaivn asked 24/12, 2012 at 18:45

1

Solved

I'm using the Python interface for libsvm, and what I'm noticing is that after selecting the best C and gamma parameters (RBF kernel) using grid search, when I train the model and cross validate it...
Seriatim asked 31/8, 2012 at 10:36

6

Solved

Do you know of any good c++ svm libraries out there I tried libsvm http://www.csie.ntu.edu.tw/~cjlin/libsvm/ but so far I'm not flabbergasted. I have also heard of SVMLight and TinySVM. Have...
Rheims asked 10/11, 2009 at 19:45

1

Solved

I'm using libsvm in C-SVC mode with a polynomial kernel of degree 2 and I'm required to train multiple SVMs. During training, I am getting either one or even both of these warnings for some of the ...
Herpetology asked 19/9, 2012 at 17:55

© 2022 - 2024 — McMap. All rights reserved.