Object/Class

org.hammerlab.stats

Stats

Related Docs: class Stats | package stats

Permalink

object Stats

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Stats
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type PercentileValue[K] = Double

    Permalink
  2. type Percentiles[K] = Vector[(Percentile, PercentileValue[K])]

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[K](v: Iterable[K], numToSample: Int = 10, onlySampleSorted: Boolean = false)(implicit arg0: Numeric[K], arg1: Ordering[K]): Stats[K, Int]

    Permalink

    Construct a NonEmpty instance from input data v.

    Construct a NonEmpty instance from input data v.

    v

    values.

    numToSample

    highlight this many "runs" of data from the start and end of the data; likewise the least and greatest elements (and repetition counts).

    onlySampleSorted

    only highlight the least and greatest elements; omit the first and last

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def collapsePercentiles[K](percentiles: Percentiles[K]): Percentiles[K]

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromHist[K, V](v: Iterable[(K, V)], numToSample: Int = 10, onlySampleSorted: Boolean = false)(implicit arg0: Numeric[K], arg1: Ordering[K], arg2: Integral[V]): Stats[K, V]

    Permalink

    Construct a NonEmpty from a sequence of "runs"; elements paired with a count of repetitions.

    Construct a NonEmpty from a sequence of "runs"; elements paired with a count of repetitions.

    v

    values.

    numToSample

    highlight this many "runs" of data from the start and end of the data; likewise the least and greatest elements (and repetition counts).

    onlySampleSorted

    only highlight the least and greatest elements; omit the first and last

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. implicit def makeShow[K, V](implicit arg0: Numeric[K], arg1: hammerlab.show.Show[K], arg2: Integral[V], arg3: hammerlab.show.Show[V], statShow: hammerlab.show.Show[Double] = sigfigs.showSigFigs, percentileShow: hammerlab.show.Show[Percentile], delimiter: hammerlab.delimiter.Delimiter = space, indent: Indent = hammerlab.indent.tab): ToLines[Stats[K, V]]

    Permalink

    Default Show implementation, utilizing Shows for key- and value-types as well as Rational percentiles and a Double percentile values and summary statistics.

    Default Show implementation, utilizing Shows for key- and value-types as well as Rational percentiles and a Double percentile values and summary statistics.

    Example with shuffled positive digits (from tests):

    N: 9, μ/σ: 5/2.6, med/mad: 5/2
     elems: 8 4 57 2 9
    sorted: 1 2 37 8 9
      10:	1
      25:	2.5
      50:	5
      75:	7.5
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped