Packages

object Sampler

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

Value Members

  1. def binomial(n: Int, p: Double): Int
  2. def collapse[A](ps: Vector[(A, Int)]): Map[A, Int]
  3. def combine[A](x: Map[A, Int], y: Map[A, Int]): Map[A, Int]
  4. def combineAll[A](xs: Vector[Map[A, Int]]): Map[A, Int]
  5. def fromPMF[A](pmf: Vector[Weighted[A]], size: Int): Map[A, Int]
  6. def getBucketSizes[A](xs: Vector[A], ps: Vector[Double], sample: Vector[Double]): Map[A, Int]
  7. def getMultinomial[A](xs: Vector[A], ps: Vector[Double], size: Int): Map[A, Int]
  8. def grouped[A](vec: Vector[A]): Map[A, Int]
  9. def linear[A](m: Map[A, Int]): Vector[A]
  10. val rand: Random
  11. def reSample[A](samp: Map[A, Int], n: Int): Map[A, Int]
  12. def sample[A](pd: ProbabilityDistribution[A], n: Int): Map[A, Int]
  13. def toFD[A](sample: Map[A, Int]): FiniteDistribution[A]
  14. def total[A](x: Vector[(A, Int)]): Int
  15. implicit object MonixBreezeSamples extends MonixSamples with TangSamples[Task]