Top "Linear-regression" questions

for issues related to linear regression modelling approach

Accuracy Score ValueError: Can't Handle mix of binary and continuous target

I'm using linear_model.LinearRegression from scikit-learn as a predictive model. It works and it's perfect. I have a problem …

python machine-learning scikit-learn linear-regression prediction
TensorFlow: "Attempting to use uninitialized value" in variable initialization

I am trying to implement multivariate linear regression in Python using TensorFlow, but have run into some logical and implementation …

python machine-learning linear-regression tensorflow
Line of best fit scatter plot

I'm trying to do a scatter plot with a line of best fit in matlab, I can get a scatter …

matlab linear-regression scatter-plot
predict.lm() in a loop. warning: prediction from a rank-deficient fit may be misleading

This R code throws a warning # Fit regression model to each cluster y <- list() length(y) <- …

r statistics linear-regression lm
Linear Regression and group by in R

I want to do a linear regression in R using the lm() function. My data is an annual time series …

r regression linear-regression lm
Error in Confusion Matrix : the data and reference factors must have the same number of levels

I've trained a Linear Regression model with R caret. I'm now trying to generate a confusion matrix and keep getting …

r machine-learning artificial-intelligence classification linear-regression
Linear regression analysis with string/categorical features (variables)?

Regression algorithms seem to be working on features represented as numbers. For example: This data set doesn't contain categorical features/…

python machine-learning regression linear-regression feature-selection
Predicted vs. Actual plot

I'm new to R and statistics and haven't been able to figure out how one would go about plotting predicted …

r plot linear-regression
Scikit-Learn Linear Regression how to get coefficient's respective features?

I'm trying to perform feature selection by evaluating my regressions coefficient outputs, and select the features with the highest magnitude …

scikit-learn linear-regression feature-selection
How can I plot my R Squared value on my scatterplot using R?

This seems a simple question, so I hope its a simple answer. I am plotting my points and fitting a …

r plot statistics linear-regression