Linear Regression, Machine Learning, Deep Learning, Jupyter Notebook, Naem Azam.
y_test, 'Predicted': y_pred}) df # You can also test with your own data hour = [[9.25]] own_pred = regressor.predict(hour) print("No of Hours = {}".format(hour)) print("Predicted Score = {}".format(own_pred[0])) Evaluating the results The final step is to evaluate the performance of the algorithm.