You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Key Updates
Moved high-precision chained mathematical calculation util to module num4j.
New QuartileBounds Record and builder pattern for it:
Introduced the QuartileBounds record to encapsulate the upper and lower bounds based on quartile calculations (Q1 and Q3) and interquartile range (IQR).
This class provides an immutable representation of quartile bounds for detecting outliers in datasets.
Added an inner Builder class to the QuartileBounds record, allowing for flexible construction using a fluent API.
The builder supports setting the upper and lower bounds and provides a convenient way to create QuartileBounds instances.
New IQR Boundaries Calculation:
Added the calculatePercentileBounds(List<Double> data) method to calculate the first quartile (Q1), third quartile (Q3), and the interquartile range (IQR).
This method returns a QuartileBounds object, providing lower and upper bounds to help detect potential outliers in a dataset.