Skip to content

v0.3.0

Compare
Choose a tag to compare
@lbarasti lbarasti released this 10 Apr 19:56
· 7 commits to master since this release
  • Upgrade to Crystal 0.34.0

  • Add support for data binning with Statistics.bin_count.

    sample = [0.5, 0.8, 0.85, 1.2, 2, 2.2, 2.8, 3.3, 4]
    
    Statistics.bin_count(sample, bins: 4, min: 0)
    # [{0.0, 3}, {1.0, 1}, {2.0, 3}, {3.0, 2}]

    You can check out the docs for more details.