twitter / AnomalyDetection

Anomaly Detection with R
GNU General Public License v3.0
3.57k stars 779 forks source link

Definition of period in AnomalyDetectionVec #78

Open baijimmy opened 8 years ago

baijimmy commented 8 years ago

Hi,

I am confused with the 'period' perimeter in in function AnomalyDetectionVec. I have minute level data for a day which is 1440 data record in total. I want to use AnomalyDetectionVec to find anomalies for the dataset. I am wondering should I set period= 24 or period = 60? Can someone explain more in detail on how the period perimeter work in AnomalyDetectionVec.

Thank you Jim

ReeseAK commented 7 years ago

The period length is a day, but the example raw_data is by minute. So they set the period to 1440 because 24 hrs * 60 minutes = 1440