Machine Learning, Data Science, Pogramming, Statistics, Python.
np.sin(x_next)*5000 fig = plt.figure(figsize=(10,5)) plt.plot(x_next, y_next, label="y=sin(x)") plt.plot(x_next, y_next_hat, label="Predicted") plt.xlabel("X") plt.ylabel("Y") plt.legend(loc="upper left") Now if we use the grid_search for our prediction, we can see that we have a better estimate