Questions tagged [linear-models]
24 questions
3
votes
1 answer
what is difference between Logistic regression and SGDClassifier with log loss OR SVM and SGDClassifer with hinge loss?
Can we just use SGDClassifier with log loss instead of Logistic regression, would they have similar results ?
inder singh
- 39
- 1
2
votes
2 answers
How to visualize optimization problems' feasible region?
Is there any tool to visualize the feasible region when given a set of Linear equations (equalities and inequalities). If not, can anyone suggest a way to visualize it?
If I am going to do it myself using Python, which libraries should I use. I have…
Mina Ashraf
- 121
- 4
1
vote
0 answers
Does linear kernel make SVM a linear model?
I have deleloped several SVR models for my case study using the linear kernel, and those models were optimized using the RMSE as criterion. Now Im searching for additional evaluation metrics and it turns the most publications use R squared to…
tabumis
- 33
- 4
1
vote
0 answers
How can I compare a NN model and a linear regression?
I have a small dataset (1500 rows) and to predict the imbalanced target, I am running two linear models (linear regression and lasso) and one nonlinear model (Neural Network) on it. I am using Area Under Precision Recall Curve (AUPRC) to compare the…
Shahab Kazemi
- 103
- 4
1
vote
1 answer
What are the advantages of model drift vs concept drift in online learning?
I have asked this question here but I'm also posting it here to get a better insight:
https://stats.stackexchange.com/questions/602282/what-are-the-advantages-of-model-drift-vs-concept-drift-in-online-learning
Let's say I have a simple linear…
Ash
- 130
- 4
1
vote
1 answer
Temperature lag forecasting
I am working on a data science project on an industrial machine. This machine has two heating infrastructures. (fuel and electricity). It uses these two heatings at the same time, and I am trying to estimate the temperature value that occurs in the…
Clankk
- 23
- 3
1
vote
1 answer
Is it possible to explain why Lasso models eliminated certain coefficient?
Is it possible to understand why Lasso models eliminated specific coefficients?. During the modelling, many of the highly correlated features in data is being eliminated by Lasso regression. Is it possible why precisely these features are being…
NAS_2339
- 233
- 2
- 11
1
vote
0 answers
Does the appliance of R-squared to non-linear models depends on how we calculate it?
Does the appliance of R-squared to non-linear models depends on how we calculate it? $R^2 = \frac{SS_{exp}}{SS_{tot}}$ is going to be an inadequate measure for non-linear models since an increase of $SS_{exp}$ doesn't necessarily mean that the…
mathgeek
- 121
- 3
1
vote
1 answer
The effect of the λ in the Ridge regression
Why by increasing value of λ in Ridge estimator the slope of the line is decreasing? How exactly λ affects to the y = kx + b?
Dablup
- 11
- 1
0
votes
1 answer
How to make a linear model with a constant value in R?
I'm working on an unassessed homework problem from unpublished course notes of a statistics module from a second year university mathematics course.
I'm trying to plot a 2-parameter full linear model and a 1-parameter reduced linear model for the…
mjc
- 103
- 4
0
votes
0 answers
What is the Intuition behind weight vector W which is normal to the plane? Is the weight vector W same as the W which is normal to the plane π?
In an interview, I was asked the intuition behind the weight vector. I told the weight vector is a vector which we try to minimize to a local minima with the help of regulariser so we don't overfit. Weights tells us the influence of a feature on the…
Vinit Sutar
- 35
- 1
- 5
0
votes
1 answer
Can absolute or relative contributions from X be calculated for a multiplicative model? $\log{ y}$ ~ $\log {x_1} + \log{x_2}$
(How) can absolute or relative contributions be calculated for a multiplicative (log-log) model?
Relative contributions from a linear (additive) model
E.g., there are 3 contributors to $y$ (given by the three additive terms):
$$y = \beta_1 x_{1} +…
Ben
- 141
- 2
0
votes
0 answers
Making a NN closer to a linear regression?
It is possible to 'initialise' a gradient boosted model with a simpler model, such as linear regression, by manually setting the initial score. This seems to help reduce the discrepencies between the two models (and the so-called 'hallucinations' of…
Lucas Morin
- 2,513
- 5
- 19
- 39
0
votes
0 answers
Need feedback on idea for new regularization term
I've been working on creating a regularization term that ensures that correlated attributes are given similar weights in a linear model. This helps to avoid some of the inconsistency in the weights of the correlated attributes. For more insight on…
Brett L
- 3
- 4
0
votes
1 answer
Linear Model With Highly Correlated Attributes Producing Inconsistent Weights
I know that having correlated attributes violates the linear model assumption of independent attributes, and I'm not interested in creating a more sophisticated model to tease apart the dependent effects of various attributes on each other. Rather,…
Brett L
- 3
- 4