Closed tiago-monge closed 5 years ago
@tiago-monge
generate_X_grid
was moved.
it is now a method of any GAM object, so you can do
gam = GAM().fit(X, y)
gam.generate_X_grid(term=...)
it looks like you are referencing some out-of-date usage. where did you read that?
sorry for the confusion, Dani
ahh is that from the CodeBurst tutorial?
Thanks for the prompt answer. Yes, I was following the CodeBurst tutorial. I'll try with the new approach.
cool, ok we will have to update/change that tutorial.
I successfuly installed the pygam package, but when I do
from pygam.utils import generate_X_grid
It gives this error:
What am doing wrong, or is it a bug? How to solve it?
Thanks
Tiago