Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
1 answer
2k views

Gamma Regressor - Some value(s) of y are out of the valid range of the loss 'HalfGammaLoss'

I am trying to use GammaRegressor to predict the customer revenue in the next 3 months, 6 months etc. So, I tried using the GammaRegressor based on suggestions from ...
The Great's user avatar
  • 3,342
1 vote
1 answer
3k views

Regression for only positive values prediction

I already referred these posts here. Please don't mark it as duplicate. This post is continuation of my other post here. So, am not providing the full context here. You can refer the link here a) Is ...
The Great's user avatar
  • 3,342
6 votes
1 answer
1k views

Predict non-negative continuous variable between 0 to 100

I am working on a problem wherein I am trying to predict how much 'percentage a student will score exams' based on the 'number of hours the student study', 'number of hours the student play', 'student'...
Prasad Dalvi's user avatar
1 vote
0 answers
206 views

Can I use the minimum lambda.1se among 100 iterations of 10-fold cv.glmnet to tune the final model?

I am running 10-fold cross-validation(cv.glmnet) 100 times on a training dataset in R. The purpose of this process is to find the optimal lambda to tune the final model for my prediction model. I did ...
Daniel's user avatar
  • 11
4 votes
2 answers
382 views

Prediction using a logistic regression model

Given a logistic regression model: $y \in \{0, 1\}$ $ P(y=1|x;\theta) = h_{\theta}(x) = \frac{1}{1+\exp(-\theta^T x)}$ And given the value $\theta^*$ which maximises the conditional likelihood $P(y|X; ...
BHC's user avatar
  • 151
0 votes
0 answers
24 views

Predict the injury time of a football match?

I have a project which requires me to predict the injury time of a football match. And I have the relevant information, such as goals, corners, referee, 2 team names and the injury time for each half. ...
waibibabo's user avatar
1 vote
1 answer
53 views

How the multiplication of observations numbers contributes to Bayesian assumption in BIC calculation?

The model selection process applies both AIC and BIC in various situations: $$\operatorname{AIC} = -2\operatorname{ln}(\operatorname{likelihood}) + 2k$$ and $$\operatorname{BIC} = -2\operatorname{ln}(\...
Eddie S's user avatar
  • 11
1 vote
2 answers
162 views

What features are suitable when predicting user preferences for songs?

I have a data set consisting of 1240 audio files (30 seconds each) and a file like this (two first rows): u v decision 1 323 0 12 9 1 ...
lala_12's user avatar
  • 19
4 votes
1 answer
1k views

GAMs vs GLMs with feature engineering - is there a practical difference?

I recently came across this tutorial on General Additive Models (GAMs). Quoting the article: The principle behind GAMs is similar to that of regression, except that instead of summing effects of ...
Ryan Zotti's user avatar
  • 6,767
8 votes
2 answers
10k views

Why is Hedonic Regression used instead of Linear Regression

Why is Hedonic Regression used (especially in housing prices) instead of Linear Regression? There do not seem to be any libraries in Python (and R) for Hedonic regression, is it too niched a ...
Nyxynyx's user avatar
  • 995