Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.45 KB

File metadata and controls

26 lines (21 loc) · 1.45 KB
title perex date author proofreading
Histogram
The article explains the Histogram class and its components, such as data arrays and bin edges, which are used for frequency distribution visualization.
15.12.2022
Ing. Jan Novotný
done

The data transfer record containing information about the interval attribute and its histogram. The histogram can be rendered as a column graph, where the first column is computed as:

first threshold (inclusive) - second threshold (exclusive) ... last - 1 threshold (inclusive) - maxValue (inclusive)

  • BigDecimal maxValue: maximal value of the attribute present
  • array of HistogramThreshold: returns histogram buckets with a count of entities in them. The array is then computed for a specified maximum number of buckets (usually derived from the visual space dedicated to histogram in the UI)

Histogram threshold

  • int index: index o the bucket starting with zero (order of the bucket in the histogram)
  • BigDecimal threshold: contains threshold (left bound - inclusive) of the bucket
  • int occurrences: count of entities in this bucket