Marcnuth / AnomalyDetection

Twitter's Anomaly Detection in Pure Python
Apache License 2.0
304 stars 76 forks source link

Added Plot Function + Fixed bugs #35

Closed aliasgherman closed 4 years ago

aliasgherman commented 4 years ago

Plot function has been added.

For pandas dataframe as input and int64, the code was throwing assertion failures. Fixed.

For data with gapes in the Date/Time fields, the code was throwing assertion failures due to the gaps in data if the gap causes the number of data samples to be less than num_obs_samples. We will now ignore such occurances and return no anomalies for such data period.

aliasgherman commented 4 years ago

Closing it as I would add the unittests for plot function as well. Also the data breakage test and better integration with pandas datasets too.