-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with recent commits (args,kwargs, and more) #9
Comments
So I went into the function code and added * in front of args and ** in front of kwargs, which fixed it (I saw that you took those *s away earlier this year in an update @hokiegeek2?), but now I've got new issues that I can't debug, and I'm wondering if it's maybe a version issue with my systems and your code, or if there's a bug or something in both the anomaly_detection_ts() and the anomaly_detection_vec() code. For more context, this is what my data looks like: test.head() Out[241]: There are 2783 records, and each at 15 min. intervals apart (the example data is minute-level, so it's a little different, and I changed the hard-coded min. period setting from 1440 to 96 manually in the ts code). When I run it, it only spits out 3 records from the 2783 that it would call "outliers": I honestly believe it should be picking up a lot more than 3 outliers in this full dataset, based on some plots, but also, note that I didn't use plot=TRUE in the code -- it throws the error " I was going into a rabbit hole of errors at that point, so I decided to back out and just work with the output for the time being. When I take that same Series and run it through the anomaly_detection_vec() function, I get the following error: anomaly_detect_vec(test, period=96)
|
@triciascully I am working these and a couple of issues I encountered when working with anomaly_detect_vec. I plan to getting these wrapped up and a patch submitted soon. |
@triciascully @Marcnuth Okay, fixed the following:
Just submitted pull request |
@triciascully this is implemented and tested in the master branch of my fork |
merged, thanks @Marcnuth |
@triciascully please close this, thanks |
Hi there -
When running:
anomaly_detect_vec(data, max_anoms=0.02, period=96, direction="both", plot=True)
I keep getting this:
TypeError: __verbose_if() missing 1 required positional argument: 'kwargs'
I changed the assert validation from
to
because I kept getting an error that the isinstance() needed 2 arguments, and now I'm getting the __verbose error.
I have a feeling this might be a Python 2 vs. Python 3 issue but I'm not familiar with python enough to really know, and I think continuing on and trying to debug every new issue that pops up will not end up working... any suggestions/easily-identifiable-fixes you can see?
The text was updated successfully, but these errors were encountered: