org.apache.spark.util

random

package random

Utilities for random number generation.

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. random
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class BernoulliCellSampler[T] extends RandomSampler[T, T]

    :: DeveloperApi :: A sampler based on Bernoulli trials for partitioning a data sequence.

  2. class BernoulliSampler[T] extends RandomSampler[T, T]

    :: DeveloperApi :: A sampler based on Bernoulli trials.

  3. class PoissonSampler[T] extends RandomSampler[T, T]

    :: DeveloperApi :: A sampler for sampling with replacement, based on values drawn from Poisson distribution.

  4. trait Pseudorandom extends AnyRef

    :: DeveloperApi :: A class with pseudorandom behavior.

  5. trait RandomSampler[T, U] extends Pseudorandom with Cloneable with Serializable

    :: DeveloperApi :: A pseudorandom sampler.

Inherited from AnyRef

Inherited from Any

Ungrouped