SPSS Modeler 中的 CLEM 预测脚本



我正在努力解决我在建模器食谱中找到的预测脚本,它应该很容易解决,但这在很久以前我做了这种事情。

错误消息:应使用"1"到"0"范围内的数字,但找到"1"

该脚本确定要预测的行数并将其读入局部变量 (num_recs) 并从神经网络模型迭代分数,在每次成功评分后,它会运行一个新行进行评分。结果是 7 天的预报。

这是脚本片段。如果有人能尽快看一下,我将不胜感激,因为时间很短(即明天,星期五),这将非常感激。

var num_recs
var idx
execute rec_count_table
> # count the number of records to be forecast
set num_recs = value rec_count_table.output at 1 1
clear outputs
for idx from 1 to num_recs
> # generate forecast one record at a time
    execute forecast_data_overwrite
end for

我遇到了同样的问题。 我将select_forecast_recs节点更改为'Power Demand' = '$null$' vs. @NULL('Power Demand')

希望这有所帮助,因为@NULL('Power Demand')代码对我不起作用。

山谷。

最新更新