问题标签 [pmdarima]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
19 浏览

python - ARIMA模型循环python

我有一个在 train[:350] test[350:427] 值的数据集中训练的 arima 模型。我在训练值中拟合模型,我的 (p,d,q) 值为 (1,1,2)。目前我一次只能预测一个时间步。我想循环运行模型,以便每次输出一个预测值时,它都会被添加到训练数据集中,新值用于预测另一个新的预测值。我无法理解如何做到这一点,到目前为止,这就是我所拥有的。

0 投票
0 回答
12 浏览

apache-spark - Pandas UDF for pyspark - Package not found error

I am using the pandas UDF approach to scale my models. However, I am getting an error with the pmdarima package not found. The code works fine till I run it on my notebook on the pandas dataframe itself. So the package is available for use in the notebook. From few answers online, the error seems in package not being available on the worker nodes where the code is trying to parallelize. Can someone help on how to resolve this? How can I also install the package on my worker nodes, if that's the case.

FYI - I am working on Azure Databricks.