ML-From-Scratch icon indicating copy to clipboard operation
ML-From-Scratch copied to clipboard

can you add code for intercept /bias to regressions

Open Sandy4321 opened this issue 4 years ago • 1 comments
trafficstars

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).

Sandy4321 avatar Jun 14 '21 17:06 Sandy4321

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,

rishabh-jain14 avatar Aug 30 '21 11:08 rishabh-jain14