【问题标题】:CLEM Forecast Script in SPSS ModelerSPSS Modeler 中的 CLEM 预测脚本
【发布时间】:2015-07-01 10:14:39
【问题描述】:

我正在为我在建模器食谱中找到的预测脚本而苦苦挣扎,它应该很容易解决,但是很久以前我就做过这种事情。

错误消息:应为 '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

【问题讨论】:

  • 感谢编辑小雕像

标签: python spss spss-modeler


【解决方案1】:

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

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

戴尔。

【讨论】:

    猜你喜欢
    • 2022-10-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-01-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多