Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can you add code for intercept /bias to regressions #94

Open
Sandy4321 opened this issue Jun 14, 2021 · 1 comment
Open

can you add code for intercept /bias to regressions #94

Sandy4321 opened this issue Jun 14, 2021 · 1 comment

Comments

@Sandy4321
Copy link

great code
but can you add code for intercept /bias to regressions
like
https://github.com/eriklindernoren/ML-From-Scratch/blob/master/mlfromscratch/examples/lasso_regression.py

for example you can use
https://github.com/wiqaaas/youtube/blob/master/Machine_Learning_from_Scratch/Ridge_Regression/Ridge_Regression_using_Gradient_Descent.ipynb

usually it is used by default
https://scikit-learn.org/stable/modules/generated/sklearn.svm.LinearSVC.html
fit_interceptbool, default=True
Whether to calculate the intercept for this model. If set to false, no intercept will be used in calculations (i.e. data is expected to be already centered).

@rishabh-jain14
Copy link

Hey there, is the issue currently up? i would like to work on it as a part of my Microsoft research assessment. Please Assign it to me by today itself. Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants