baidu / Curve

An Integrated Experimental Platform for time series data anomaly detection.
http://curve.baidu.com
Apache License 2.0
531 stars 134 forks source link

Exported csv has no label data on unlabelled data #54

Open earthgecko opened 6 years ago

earthgecko commented 6 years ago

When data is labelled in the UI and exported it is only exported with a ,1 set on the labelled data in the csv, data that has not been labelled is left blank, for example:

timestamp,value,label
1478765820,0.0,
1478765880,0.0,
1478765940,0.0,
1478766000,0.0,1
1478766060,0.05,1
1478766120,0.0,
1478766180,0.0,
1478766240,0.0,

Due to the fact that the label column has been added, should all unlabelled data be labelled with ,0 rather than just ,?

This would reduce the requirement for the user to have to preprocess the exported csv or deal with NaNs in any upstream processing they did with the exported csv as all the label data would be present.

minorcong commented 6 years ago

Thanks for your compaint, we have recorded and will amend this in days.