Packages

trait IntHistogram extends Histogram[Int]

The base trait for all integer-containing histograms.

Linear Supertypes
Histogram[Int], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IntHistogram
  2. Histogram
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def bucketCount(): Int

    The number of buckets utilized by this Histogram.

    The number of buckets utilized by this Histogram.

    Definition Classes
    Histogram
  2. abstract def cdf(): Array[(Double, Double)]

    CDF of the distribution.

    CDF of the distribution.

    Definition Classes
    Histogram
  3. abstract def foreachValue(f: (Int) ⇒ Unit): Unit

    Execute the given function on the value of each bucket in the histogram.

    Execute the given function on the value of each bucket in the histogram.

    f

    A unit function of one parameter

    Definition Classes
    Histogram
  4. abstract def itemCount(item: Int): Long

    Return the number of occurrences for 'item'.

    Return the number of occurrences for 'item'.

    Definition Classes
    Histogram
  5. abstract def maxBucketCount(): Int

    Return the maximum number of buckets of this histogram.

    Return the maximum number of buckets of this histogram.

    Definition Classes
    Histogram
  6. abstract def maxValue(): Option[Int]

    Return the largest item seen.

    Return the largest item seen.

    Definition Classes
    Histogram
  7. abstract def merge(histogram: Histogram[Int]): Histogram[Int]

    Return the sum of this histogram and the given one (the sum is the histogram that would result from seeing all of the values seen by the two antecedent histograms).

    Return the sum of this histogram and the given one (the sum is the histogram that would result from seeing all of the values seen by the two antecedent histograms).

    Definition Classes
    Histogram
  8. abstract def minValue(): Option[Int]

    Return the smallest item seen.

    Return the smallest item seen.

    Definition Classes
    Histogram
  9. abstract def mutable(): MutableHistogram[Int]

    Return a mutable copy of this histogram.

    Return a mutable copy of this histogram.

    Definition Classes
    Histogram
  10. abstract def quantileBreaks(num: Int): Array[Int]

    Compute the quantile breaks of the histogram, where the latter are evenly spaced in 'num' increments starting at zero percent.

    Compute the quantile breaks of the histogram, where the latter are evenly spaced in 'num' increments starting at zero percent.

    Definition Classes
    Histogram
  11. abstract def rawValues(): Array[Int]

    Return an array containing the values seen by this histogram.

    Return an array containing the values seen by this histogram.

    Definition Classes
    Histogram
  12. abstract def totalCount(): Long

    Return the total number of occurrences for all items.

    Return the total number of occurrences for all items.

    Definition Classes
    Histogram
  13. abstract def values(): Array[Int]

    Return a sorted array of values seen by this histogram.

    Return a sorted array of values seen by this histogram.

    Definition Classes
    Histogram

Concrete Value Members

  1. def binCounts(): Seq[(Int, Long)]

    Return sequence of tuples pairing bin label value and to its associated count.

    Return sequence of tuples pairing bin label value and to its associated count.

    Definition Classes
    Histogram
  2. def foreach(f: (Int, Long) ⇒ Unit): Unit

    Execute the given function on the value and count of each bucket in the histogram.

    Execute the given function on the value and count of each bucket in the histogram.

    Definition Classes
    IntHistogramHistogram
  3. def mean(): Option[Double]

    Compute the mean of the distribution represented by the histogram.

    Compute the mean of the distribution represented by the histogram.

    Definition Classes
    IntHistogramHistogram
  4. def median(): Option[Int]

    Compute the median of the distribution represented by the histogram.

    Compute the median of the distribution represented by the histogram.

    Definition Classes
    IntHistogramHistogram
  5. def minMaxValues(): Option[(Int, Int)]

    Return the smallest and largest items seen as a tuple.

    Return the smallest and largest items seen as a tuple.

    Definition Classes
    Histogram
  6. def mode(): Option[Int]

    Compute the mode of the distribution represented by the histogram.

    Compute the mode of the distribution represented by the histogram.

    Definition Classes
    IntHistogramHistogram
  7. def statistics(): Option[Statistics[Int]]

    Return a statistics object for the distribution represented by the histogram.

    Return a statistics object for the distribution represented by the histogram. Contains among other things: mean, mode, median, and so-forth.

    Definition Classes
    IntHistogramHistogram