-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
The results pages often pop up with a message saying there are negative values in the chart but the the baseline is zero.
Source
The negative values appear in the standard deviation 1 data, written out in output.h. It subtracts the standard deviation from the mean time. However, the standard deviation can be bigger than the mean, which results in negative values in the output.
fprintf(fp,"var std1 = [");
for(int il=0; il<NumPatt; il++) if(PATT_SIZE[il]>=MINLEN && PATT_SIZE[il]<=MAXLEN) {
if(TIME[algo][il]==0) fprintf(fp,",");
else fprintf(fp,"%.2f,",TIME[algo][il]-STD[algo][il]);
}
fprintf(fp,"];\n");Fix
I'm not sure what the fix should be here. I can prevent negative values by having a minimum zero value here, cutting off anything
below it. I'm not sure what the right statistical approach is.
Helias
Metadata
Metadata
Assignees
Labels
No labels