Skip to content

v1.6.5: Percentile and Quartile Bounds Calculation Update

Compare
Choose a tag to compare
@zihluwang zihluwang released this 22 Oct 09:43
· 174 commits to main since this release
a52cb66

Key Updates

  1. Moved high-precision chained mathematical calculation util to module num4j.
  2. 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.
  3. 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.

Other Updates

  • Upgrade Jackson to 2.18.0.
  • Upgrade JUnit Jupiter to 5.11.2.
  • Upgrade Logback to 1.5.10.
  • Upgrade Lombok to 1.18.34.
  • Upgrade Slf4j API to 2.0.16.
  • Upgrade Spring to 6.1.13.
  • Upgrade Spring Boot to 3.3.4.