Skip to main content
psarka's user avatar
psarka's user avatar
psarka's user avatar
psarka
  • Member for 10 years, 1 month
  • Last seen more than a month ago
awarded
comment
Metrics for multiclass classification model accuracy
@AryaMcCarthy do you have any source for the expected classification accuracy? Internet search left me empty handed.
awarded
comment
Can we fit a regression model when the dependent variable is poorly correlated with the independent variables?
Don't scatterplot 40K points just like that - they are drawn on top of each other, and you don't know if you have a lot of points in some region, or very few. Do something else. One simple trick is to set alpha=0.1. If it is still not clear, then switch to a different visualization, like seaborn.pydata.org/examples/hexbin_marginals.html.
comment
How to decide model parameters of a neural network effectively
In that case cross-validation is the way to go đź‘Ť
comment
Selecting most useful variables from Ordinary Least Squares using statsmodels in python
Lasso is more subtle than just normal regression + removing coefficients under a certain value. I find it surprising, that you get the same result. My advice would be to double check the code to make sure you don't have any bugs, and if not, post a new question.
Loading…
comment
Estimate most probable (mode) value from samples of continuous variable in Python
This is a good answer (+1), but the core idea is delayed until the the fourth paragraph. Maybe it would be better to open the answer with "If the distribution family of your sample is unknown, use a density estimator".
comment
Selecting most useful variables from Ordinary Least Squares using statsmodels in python
Hi scikitnoob and welcome! Your question is a very well known one, and goes by the name of "variable selection". It has been discussed on this site multiple times already, Check out this one stats.stackexchange.com/questions/122931/…. It has a recommendation to use lasso as an answer and some more links in the comment to the question.
Loading…
awarded
awarded
comment
Confusion in regression function derivation
The second derivative here is $2$, not $2c$ :)
awarded
comment
Choosing model for feature selection on categorial data
@AhmMMM I don't think your independent variables matter. You want a Bernoulli, which is logistic regression, which is family=binomial(link="logit") in glm in R.
Loading…
answered
Loading…
comment
Understanding sum of square deviations
$X_i$ are independent right? And also, is this a self-study question? If so, please add a tag.
awarded
Loading…
1
2 3 4 5
…
8