Advertisement
Guest User

Untitled

a guest
May 20th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #predicting and obtaining a summary of the Ordinary least squares method
  2. model = sm.OLS(y, X).fit()
  3. predictions = model.predict(X)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement