Skip to content
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

probe: Added truncated mean averaging capability #6778

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nickweedon
Copy link

Added a new samples_trunc_count configuration attribute to the '[probe]' section that will cause the samples_trunc_count number of highest and lowest samples to be removed and then the average of the remaining samples is returned.

This feature is very useful when performing 5 samples or more since it will allow for the 'best of both worlds' with regard to using either median or mean (average) since it gives the converging benefit of mean while still being resistant to outliers like median.
This works particularly well when also combined with samples_tolerance_retries.

@nickweedon nickweedon force-pushed the truncated_mean branch 2 times, most recently from a07afb6 to 4b78010 Compare January 4, 2025 18:57
Added a new 'samples_trunc_count' configuration attribute to the
'[probe]' section that will cause the 'samples_trunc_count' number of
highest and lowest samples to be removed and then the average of the
remaining samples is returned.

Signed-off-by: Nick Weedon <[email protected]>
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.

1 participant