Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #predicting and obtaining a summary of the Ordinary least squares method
- model = sm.OLS(y, X).fit()
- predictions = model.predict(X)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement