Regression Analysis, Statistics.
mengevaluasi model regresi dengan melihat R-squared, MSE, dan RMSE. #Model evaluation r_2 = regressor.score(X,y) #R^2 #MSE and RMSE from sklearn.metrics import mean_squared_error y_pred = regressor.predict(X) mse = mean_squared_error(y, y_pred, squared=True) rmse = mean_squared_error(y, y_pred,