Packages

trait Histogram[T <: AnyVal] extends Serializable

Data object representing a histogram of values.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Histogram
  2. Serializable
  3. Serializable
  4. AnyRef
  5. 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.

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

    CDF of the distribution.

  3. abstract def foreach(f: (T, Long) ⇒ Unit): Unit

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

  4. abstract def foreachValue(f: (T) ⇒ 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

  5. abstract def itemCount(item: T): Long

    Return the number of occurrences for 'item'.

  6. abstract def maxBucketCount(): Int

    Return the maximum number of buckets of this histogram.

  7. abstract def maxValue(): Option[T]

    Return the largest item seen.

  8. abstract def mean(): Option[Double]

    Compute the mean of the distribution represented by the histogram.

  9. abstract def median(): Option[T]

    Compute the median of the distribution represented by the histogram.

  10. abstract def merge(histogram: Histogram[T]): Histogram[T]

    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).

  11. abstract def minValue(): Option[T]

    Return the smallest item seen.

  12. abstract def mode(): Option[T]

    Compute the mode of the distribution represented by the histogram.

  13. abstract def mutable(): MutableHistogram[T]

    Return a mutable copy of this histogram.

  14. abstract def quantileBreaks(num: Int): Array[T]

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

  15. abstract def rawValues(): Array[T]

    Return an array containing the values seen by this histogram.

  16. abstract def statistics(): Option[Statistics[T]]

    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.

  17. abstract def totalCount(): Long

    Return the total number of occurrences for all items.

  18. abstract def values(): Array[T]

    Return a sorted array of values seen by this histogram.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def binCounts(): Seq[(T, Long)]

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

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def minMaxValues(): Option[(T, T)]

    Return the smallest and largest items seen as a tuple.

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped