what do i need to add here?

In [46]: y- df_train [ SalePrice ] x- df_train[cols] reg- LinearRegression (fit (X, y) ) X-test- df_test (col.copy() print In [46]: y- df_train [ ‘ SalePrice’ ] x- df_train[cols] reg- LinearRegression (fit (X, y) ) X-test- df_test (col.copy() print (“Score”, reg.score (X, y) ) y_hat-reg.predict (X_test) File “ipython – input – 46 – 688d567deee3>”, print-(“Score”, reg.score(X,y) ) line 5 SyntaxError: invalid syntax



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *