All Questions
Tagged with svm regression
27 questions
9
votes
3
answers
2k
views
Regression model R2 drops when I remove outliers: is that even possible?
I'm analyzing how outliers in my dataset of size 8x8000 affect regression models. I have three scenarios: raw dataset (with outliers), Winsorized dataset (2% of the extreme outliers adjusted), and ...
1
vote
0
answers
9
views
Is my SVR model doing the right thing?
I am doing wind forecasting modeling using SVR model and I wanted to compare the actual wind speed data and the predicted data.
I am not sure what I did wrong. I have pre-process the datasets and ...
1
vote
1
answer
41
views
Unexpected behaviour of Scikit-Learn SVR
I'm using Scikit-learn to fit a support vector regression on a really simple dataset of car stopping distances vs car speed.
My code for applying SVR to this dataset is:
...
0
votes
1
answer
153
views
Is it ok to normalize data using minmaxscalar on dependent variable?
I'm trying to make a sales prediction using the column X = item_amount and y = item_price_total, I'm confused whether it's okay to normalize data on the dependent variable using minmaxscalar?
With the ...
4
votes
1
answer
365
views
Force positive coefficients for Logistic Regression and LinearSVC
Do you know what is the best way to force positive coefficients with Logistic Regression and Linear SVC using scikit learn?
for instance
...
1
vote
1
answer
252
views
My model is predicting values for only two labels (instead of 9) how to fix it?
My goal is to predict the count (variable y) based on various features (variable x). My y is most of the time (98.4%) equal to 0, so this data is inflated by 0.
Based on this premise, I thought that ...
0
votes
0
answers
89
views
1
vote
1
answer
954
views
Get negative predicted value in Support Vector Regresion (SVR)
I am doing Covid-19 cases prediction using SVR, and getting negative values, while there should be no number of Covid-9 cases negative. Feature input that I was used is mobility factor (where have ...
1
vote
0
answers
25
views
How to estimate a best fitting line that separates variables on a scatterplot by some third binary outcome variable with 95% accuracy?
0
I've been thinking about this and haven't found a non-brute force method of doing it. I have a series of scatterplots depicting the relationship between two predictor variables and a third binary ...
1
vote
1
answer
579
views
regression with noisy target vairable
How can I approach a regression problem where the input data is not noisy but the target variable is noisy? Are there any regression algorithms that are robust to a noisy target variable?
Also, is it ...
-2
votes
3
answers
64
views
How to decrease $R^2$ value and change it to positive value [closed]
I'm working on a data, and use regression , as you see bellow:
from sklearn.svm import SVR
regressor = SVR(kernel = 'linear')
regressor.fit(trainX,trainY)
above ...
0
votes
1
answer
180
views
Two-class model with predicted scores needed - classification or regression approach
In my problem, step one is to build a model to classify cases as one of True or False (1 or 0 could also be used obviously). Once the optimum model is found, step two is to retrieve probabilities for ...
1
vote
1
answer
2k
views
What is the possible range of SVR parameters range?
I'm working on a regression problem. While tunning the Parameters of SVR I got the following values c=100, gamma= 10 and epsilon =100. For which I got 95 percent r-square. My question is what is the ...
2
votes
0
answers
148
views
Non-linear Support Vector Regression issue - Sklearn Python 3.6
I am fairly new to Sklearn and machine learning and have encountered an issue when using SVR with an RBF kernel. Below is my predicted data compared directly with my real data:
I do not know what I am ...
1
vote
1
answer
93
views
Logistic Regression or regression SVM for probability of outcome
I am working on a prediction question: what's the percentage of Y = 1 using a number of features?
The output Y values I have for training are in binary. In this case, should the prediction be ...