Skip to main content

Questions tagged [linear-regression]

Techniques for analyzing the relationship between one (or more) "dependent" variables and "independent" variables.

3votes
1answer
71views

Constant feature ignored by Spark LinearRegression?

I am running a linear regression model using PySpark, and came across following weird behavior: When I include a constant feature (representing an intercept term), it is ignored completely by Spark. I....
Achrbot's user avatar
1vote
0answers
32views

Predicting PGA Tour results with Linear Regression

I have curated a dataset from various online sources that contains information about each PGA player's weekly performance/trends. I'm attempting to predict their finishing positions at the next ...
racurry1993's user avatar
-1votes
1answer
145views

Why linear regression doing not so well with respect to walk-forward validation?

I followed from this question1,question2. I have the following task to do: I have time series data. Training by the consecutive 3 days to predict the each 4th day. Each day data represents one CSV ...
S. M.'s user avatar
3votes
1answer
88views

How to incorporate weights (probability measurements) of data into a mean squared error loss function

I am training a CNN to regress on 4 targets related to a given image. Within the image is a point of interest whose position can be defined by phi, and theta (corresponding to x and y of a normal ...
Jack Stethem's user avatar
0votes
1answer
65views

Finding importance of features on a target variable

I have a dataset containing features and a target variable, all of which are numeric values. I wanted to see which variables influence the target variable in what way, if at all, and thought a ...
ryan's user avatar
1vote
1answer
29views

Can I use percentages to determine the influence of one variable on a dependent variable?

I have four independent variables to analyze their influence on one independent variable. One of the independent variables is coded in percentage. How can I determine its influence on the dependent ...
rifkatu's user avatar
0votes
0answers
30views

Linear Regression with coefficients coming from LightGBM

I was wondering if anyone has tried to use a LightGBM to estimate the alpha and beta of a linear regression model. I am looking into this because I am seeking an interpretable model. A direct lgbm ...
Phun's user avatar
  • 101
4votes
1answer
566views

Why linear regression doing well in time series data?

I followed from this question. I have the following task to do: I have time series data. Training by the consecutive 3 days to predict the each 4th day. Each day data represents one CSV file which ...
S. M.'s user avatar
3votes
1answer
51views

When I use linear regression in machine learning, variables selection is same as choosing turning parameters?

I am a newbie in machine learning. After days of studying the ideas of machine learning, I have made some conclusions, which are below (I only consider supervised learning). Step 1: Data splitting ...
Student coding's user avatar
3votes
1answer
207views

regression model outperform every models

I followed from this question. Case1: I have the following task: Train for consecutive 3 days to predict each fourth day. Each day's data represents one CSV file, which has dimensions 24x25. Each ...
S. M.'s user avatar
7votes
1answer
284views

When the regression models outperforms naive method?

I followed from this question. Case1: I have the following task to do: Training by the consecutive 3 days to predict the each 4th day. Each day data represents one CSV file which has dimension 24x25. ...
S. M.'s user avatar
0votes
0answers
16views

Training by multivariate data sets

I have the following task to do: Training by the consecutive 3 days to predict the 4th day. Each day data represents one CSV file which has dimension 24x25. Every datapoints of each CSV file are ...
S. M.'s user avatar
1vote
1answer
176views

Is the dataset fit for Linear and Logistic Regression

I am trying to check the correlation in a red wine quality dataset via a scatter plot but it seems it just doesn't seem to be linear. I have applied the preprocessing steps below: Standard Scaler ...
RushHour's user avatar
0votes
1answer
202views

What does "overfitting" exactly means in linear regression?

I was trying to understand the overfitting concept. So I know that when the training R^2 is greater than 95% it means the model is overfitted and after doing some ...
RushHour's user avatar
0votes
0answers
16views

Which input features do I need to drop after examining variance inflation factor (VIF)?

For example, I got the following VIF factor result (weekday_ is one-hot encoding): ...
Jeon's user avatar
  • 101

153050per page
close