Hi,

I am in the process of using a PMML model in CEP to predict using an event
stream. I have written a sample execution plan to do it, but when
validating the plan, a null pointer exception is thrown[1]. (Siddhi PMML
extension is installed)


@Import('inputStream:1.0.0')
define stream inputStream (RegionCat string, TitleCat string, RLMaxTitle
string, Act1_rate double, Act2_rate double, Act3_rate double, Act4_rate
double, Act5_rate double, Act6_rate double);


@Export('outStream:1.0.0')
define stream outStream (RegionCat string, TitleCat string, RLMaxTitle
string, Act1_rate double, Act2_rate double, Act3_rate double, Act4_rate
double, Act5_rate double, Act6_rate double, ResponseAccountName double);

from inputStream#pmml:predict('/home/fazlann/Downloads/logistic.pmml')
select *
insert into outStream;


Any idea on what's the issue?



[1]http://pastie.org/10605829 <http://pastie.org/10605815>
[2] PMML Model <http://pastie.org/10605821>
-- 
Thanks & Regards,

Fazlan Nazeem

*Software Engineer*

*WSO2 Inc*
Mobile : +94772338839
<%2B94%20%280%29%20773%20451194>
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to