Questions tagged [svm]

Support Vector Machines (SVM) are a popular supervised machine learning algorithm that can be used for classification or regression.

Filter by
Sorted by
Tagged with
131
votes
6answers
178k views

How to draw Deep learning network architecture diagrams?

I have built my model. Now I want to draw the network architecture diagram for my research paper. Example is shown below:
10
votes
4answers
3k views

Skewed multi-class data

I have a dataset which contains ~100,000 samples of 50 classes. I have been using SVM with an RBF kernel to train and predict new data. The problem though is the dataset is skewed towards different ...
6
votes
2answers
1k views

Classifying survey response text SVM

I have 800 responses to an open-ended survey question. Each response is categorized into 3 categories based on a list of 70 categories. These categories are things like "stronger leadership", "better ...
2
votes
2answers
445 views

Setting best SVM hyper parameters

I have a non linear data set, and I am using SVM (RBF kernel) to build a classification model, but not sure how to set the best hyperparameters of the SVM, C and gamma in Matlab ...
23
votes
2answers
40k views

Can you explain the difference between SVC and LinearSVC in scikit-learn?

I've recently started learning to work with sklearn and have just come across this peculiar result. I used the digits dataset ...
12
votes
2answers
2k views

The differences between SVM and Logistic Regression

I am reading about SVM and I've faced to the point that non-kernelized SVMs are nothing more than linear separators. Therefore, ...
4
votes
2answers
8k views

Does dataset training and test size affect algorithm?

I am dealing with a dataset that has a total of 81 records. Out of them I divided it to 54 records for the training and the rest for testing. I noticed a few things: Accuracy is low for given test ...
7
votes
1answer
946 views

Custom metrics for unbalanced classes problem in RandomForest or SVM

My dataset has highly unbalanced classes ‒ foreground of 30 classes with tens of samples against background set of >100k samples. Classifying foreground class as background is quite OK, while ...
11
votes
2answers
2k views

Consequence of Feature Scaling

I am currently using SVM and scaling my training features to the range of [0,1]. I first fit/transform my training set and then apply the same transformation to my testing set. For example: ...
6
votes
2answers
7k views

Predicting probability from scikit-learn SVC decision_function with decision_function_shape='ovo'

I have a multiclass SVM classifier with labels 'A', 'B', 'C', 'D'. This is the code I'm running: ...
0
votes
2answers
307 views

How to quantify the performance of the classifier (multi-class SVM) using the test data?

I am working on a traffic sign recognition code in MATLAB using Belgian Traffic Sign Dataset. The dataset consists of training data and test data. I resized the given images and extracted HOG ...
3
votes
2answers
19k views

Time series forecast using SVM?

I have a pandas data frame like this: ...
3
votes
1answer
152 views

Can we use Stop Words while using multinomial navies theorem?

I'm collecting Twitter tweets for sentiment analysis. I chose to use Multinomial Navies theorem for finding the sentiment. I found some examples of SVM theorem making use of stop words. My question ...
3
votes
1answer
1k views

Should the output of regression models, like SVR, be normalized?

I have a regression problem which I solved using SVR. Accidentally, I normalized my output along with the inputs by removing the mean and dividing by standard ...
2
votes
1answer
132 views

Different runs of feature selection algorithm giving different set of selected feature. How to choose the best set among them?

I am using the forward feature selection algorithm from MATLAB. The code is as follows: ...
2
votes
1answer
96 views

What algorithm can predict structured outputs of arbitrary size?

I have a collection of graph objects of variable size (input) which are each paired to another graph of variable size (output). The task is, given an input graph, produce the most likely output graph. ...
2
votes
1answer
49 views

Is it possible to implement a classifier according to quarters? What about missing data?

I have a dataset with several individuals and features. I'm studying behavior over the year (for instance, averages or iterations of money gained, jobs, etc.). My ultimate goal is to implement a ...
1
vote
1answer
280 views

Why won't my SVM learn a sequence of repeated elements

I recently started playing with SVMs for a one class classification, I was able to get some reasonable classifications from real data and but was trying to optimize the nu and gamma parameters when I ...