Marcnuth / AnomalyDetection

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

Added Plot Function + Small fixes #36

Closed aliasgherman closed 4 years ago

aliasgherman commented 4 years ago

No code has been changed from algorithm perspective

Plot code is added as v01 with minimal options. We return the matplotlib plot in the results['plot']

Readme has been improved a bit.

Certain errors like gaps in datetime would cause assertions due to middle samples not being sufficient from num_obs, some errors on the data types (like int64 throwing error), were fixed.

Test cases were improved for compatibility (assertEquals -> assertEqual) etc.

I am now using this code for my daily office work without problems. I am open to test with other datasets if needed too.

aliasgherman commented 4 years ago

Codacy does not like the README