Ordinary Least Squares, P Value, Regression, Statsmodels.
X_test_sc=sc_x.transform(X_test) #Train shape (353, 10) Test shape (89, 10) Fit the model : OLS in Scikit-Learn Let’s fit the Ordinary Least Square model from Sckit-learn reg_ols=LinearRegression() #fit_intercept=True,positive=True reg_ols.fit(X_train_sc,y_train) Default parameters will apply, like