object Stats
- Alphabetic
- By Inheritance
- Stats
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[K](v: Iterable[K], numToSample: Int = 10, onlySampleSorted: Boolean = false)(implicit arg0: Numeric[K], arg1: Ordering[K]): Stats[K, Int]
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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]
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
def
makeShow[K, V](implicit arg0: Numeric[K], arg1: hammerlab.show.Show[K], arg2: Integral[V], arg3: hammerlab.show.Show[V], percentileShow: hammerlab.show.Show[Rational] = showPercentile, statShow: hammerlab.show.Show[Double], delimiter: Delimiter = space, indent: Indent = hammerlab.indent.tab): ToLines[Stats[K, V]]
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 5 … 7 2 9 sorted: 1 2 3 … 7 8 9 10: 1 25: 2.5 50: 5 75: 7.5
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
showDouble: hammerlab.show.Show[Double]
Default Show for summary statistics and percentile values
-
def
showPercentile(implicit showDouble: hammerlab.show.Show[Double] = cats.implicits.catsStdShowForDouble, showLong: hammerlab.show.Show[Long] = showLong): hammerlab.show.Show[Rational]
Default Show for percentile-keys (generally integers except for on the edges in large datasets, where percentiles of rthe forms 1e-N and 1-1e-N are included).
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )