Machine Learning, Linear Regression, Ridge Regression, Lasso Regression, Genomics.
Squared Error:', metrics.mean_squared_error(y_test, y_pred)) print('Root Mean Squared Error:', np.sqrt(metrics.mean_squared_error(y_test, y_pred))) print('coefficient of determination:', model.score(X_test, y_test)) and for lasso: from sklearn.linear_model import Lasso model = Lasso(alpha = 0.05)