我正在使用pmdarima在python3.7.7中应用auto_arima。使用from pmdarima.model_selection import train_test_split拆分数据集时
以下错误弹出: ModuleNotFoundError:没有名为'pmdarima.model_selection‘的模块
在Anaconda中已经更新了包,仍然是相同的错误。
根据pdmarima文档,它应该是可用的:https://alkaline-ml.com/pmdarima/modules/generated/pmdarima.model_selection.train_test_split.html?highlight=train_test#pmdarima.model_selection.train_test_split
有什么建议吗?
发布于 2020-05-17 17:54:27
从Anaconda移除pmdarima包后,使用pip重新安装。pip将pmdarima安装到此程序包的1.6.0版本,解决了此问题。
https://stackoverflow.com/questions/61823000
复制相似问题