from pygam import LinearGAM
时间: 2023-11-11 11:03:35 浏览: 72
pyGAM:[需要帮助] Python中的通用加性模型
I believe you may have made a typo in the package name. The correct package name is "pygam", not "pygame".
Assuming you have installed the package correctly, you can import LinearGAM from pygam as follows:
```
from pygam import LinearGAM
```
This will allow you to create a LinearGAM object and perform various operations on it, such as fitting it to data, making predictions, and plotting results.
阅读全文