I was practicing on lasso regression and trying to get the r2 score with three different methods but it gives different results
X=data.iloc[:,1:2].values y=data.p