Outlier detection and outlier exclusion - adjusted#10
Merged
Conversation
Member
Author
|
oof I also just see I messed up |
From: #5 (comment) Need to think through it again/and or check some more samples and test it against that. Getting different bounds/outliers right now although I think they're right.
Member
Author
|
MUCH better. |
* Remove the limiting of bounds with min/max * consult and get some more samples * include R samples as some authorative examples
There could be an argument made that if we have few outliers, reversing the lists twice could be faster than passing through the entire list once with 2 conditions. We can probably optimize & benchmark on this later.
Member
Author
|
argh coveralls why... it reports as failing but getting rid of that I'd need to allow list all the CI ones and that is just too much of a drag. |
Since we changed the rules for outlier bounds we don't need them any more. Helps simplify the code quite a bit.
Also cracked down on some of the too flexbile code surrounding `get_percentile` - there were layers of get lazies here because the API we promised is almost too forgiving. Hence, made it easier - if the percentiles we need are there take them, if not calculate them without some layers to it that I also found too hard to follow now :)
I think that's a dangerous assumption and our code should be resilient to it :)
Member
Author
|
Alrighty, that was some more work than I anticipated but I included a whole swath of cleanup all over the place. Should probably be ready to merge 👀 🚀 Thanks again @NickNeck for all the work on it and sorry it took me so long to get it. Should be able to release it soon :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow up on #5 / me trying to finish it up :)
Gotta run right now for other responsibilities, likely to continue tomorrow!
Thanks @NickNeck 💚
edit: I also know tests are currently failing that's why that commit is "WIP"