Machine Learning, Data Science, Pogramming, Statistics, Python.
y_next, label="y=sin(x)", alpha=0.5) plt.plot(x_next, y_next_hat, label="Predicted", alpha=0.5) plt.xlabel("X") plt.ylabel("Y") plt.legend(loc="upper left") Future prediction Oops!. We can see that the value beyond the training limit makes no sense. This is because Random forest has learned to