python - CLEM Forecast Script in SPSS Modeler -


i'm struggling forecast script found in modeler cookbook, should easy solve away long ago did type of thing.

error message: expected number in range '1' '0' found '1'

the script determine number of rows forecast , read in local variable (num_recs) , iterate score neuralnet model, after each succesful scoring runs new row scored. result 7 day forcast.

here script piece. appreciate if take @ asap, due short timeframe(that tomorrow, friday), appriated.

var num_recs var idx  execute rec_count_table  > # count number of records forecast  set num_recs = value rec_count_table.output @ 1 1 clear outputs  idx 1 num_recs  > # generate forecast 1 record @ time      execute forecast_data_overwrite end 

i ran same issue. changed select_forecast_recs node 'power demand' = '$null$' vs. @null('power demand').

hope helps because @null('power demand') code did not work me.

dale.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -