from sklearn.linear_model import Lasso
from sklearn.preprocessing import StandardScaler
scaler = StandardScaler()
X_scaled = scaler.fit_transform(X)
lasso_reg = Lasso()
lasso_reg.fit(X_scaled, y)
# To retrieve and print out the coefficients from the regression model.
reg_coef = lasso_reg.coef_
print(reg_coef)