Linear Regression, Polynomial Regression, Scikit Learn, Machine Learning, Machine Learning Python.
Pipeline will automatically prepare advanced dataset before training our model. Let’s train (on first 75 points) and test (on last 25 points) our model: model.fit(df.drop('y',axis=1)[:74], df['y'][:74]) predict_y = model.predict(df.drop('y',axis=1)[75:]) And plot results to evaluate model quality: