Skip to content

Outlier detection and outlier exclusion - adjusted#10

Merged
PragTob merged 23 commits intomainfrom
hrzndhrn-outliers
May 5, 2025
Merged

Outlier detection and outlier exclusion - adjusted#10
PragTob merged 23 commits intomainfrom
hrzndhrn-outliers

Conversation

@PragTob
Copy link
Member

@PragTob PragTob commented May 2, 2025

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"

@PragTob
Copy link
Member Author

PragTob commented May 2, 2025

oof I also just see I messed up git pull --rebase again like someone who doesn't know git... cherry pick and reset incoming

@PragTob PragTob force-pushed the hrzndhrn-outliers branch from 03d6791 to ad7174b Compare May 2, 2025 12:06
@PragTob
Copy link
Member Author

PragTob commented May 2, 2025

MUCH better.

PragTob added 3 commits May 3, 2025 13:44
* 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.
@PragTob
Copy link
Member Author

PragTob commented May 3, 2025

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.

PragTob added 12 commits May 3, 2025 15:32
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 :)
@PragTob
Copy link
Member Author

PragTob commented May 3, 2025

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 :)

@PragTob PragTob merged commit 7d8f1b5 into main May 5, 2025
20 checks passed
@PragTob PragTob deleted the hrzndhrn-outliers branch May 5, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants