Hello,



I want to use Kapacitor in order to do more complex computation on my data. 
I create a task with the type batch. I put 2 queries in to variable 
forecasteec and real . I want to compute a type of error which is:


error =  sum( abs( real - forecasteec))/sum(real)


The sum is for one day. The first part is easy. But I do not know how do 
the sum on 1 day. I have data each 15 min.


What is the best way to do that? I am completly on Kapacitor. I am using 
the version 0.13


Here the first part:


*  21 forecasteec*

*  22     |join(real)*

*  23     .as('forecasteec', 'real')*

*  24     |eval(lambda: abs( "forecasteec.value" - "real.value"))*



wug





-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/1fa6ffbb-7414-46fa-a9c5-a1d0678f9a7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to