Trait/Object

io.github.mandar2812.dynaml.probability

MixtureRV

Related Docs: object MixtureRV | package probability

Permalink

trait MixtureRV[Domain, BaseRV <: RandomVariable[Domain]] extends RandomVariable[Domain]

Top level class for representing random variable mixtures.

Domain

Domain over which each mixture component is defined

BaseRV

The type of each mixture component, must be a sub type of RandomVariable

Linear Supertypes
RandomVariable[Domain], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MixtureRV
  2. RandomVariable
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val components: Seq[BaseRV]

    Permalink
  2. abstract val mixture_selector: MultinomialRV

    Permalink
  3. abstract val sample: DataPipe[Unit, Domain]

    Permalink

    Generate a sample from the random variable

    Generate a sample from the random variable

    Definition Classes
    RandomVariable

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def :*[Domain1](other: RandomVariable[Domain1]): RandomVariable[(Domain, Domain1)]

    Permalink

    Outputs the cartesian product between two random variables.

    Outputs the cartesian product between two random variables.

    Domain1

    The domain of the other random variable

    other

    The random variable which forms the second component of the cartesian product.

    Definition Classes
    RandomVariable
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def >[OtherDomain](transformation: DataPipe[Domain, OtherDomain]): MeasurableFunction[Domain, OtherDomain, RandomVariable[Domain]]

    Permalink

    Transform the current random variable on Domain to a morphed random variable on OtherDomain

    Transform the current random variable on Domain to a morphed random variable on OtherDomain

    Definition Classes
    RandomVariable
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def draw: Domain

    Permalink

    Alias for sample.run()

    Alias for sample.run()

    Definition Classes
    RandomVariable
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def iid(n: Int): IIDRandomVariable[Domain, RandomVariable[Domain]]

    Permalink

    Create an iid random variable from the current (this)

    Create an iid random variable from the current (this)

    n

    The number of iid samples of the base random variable.

    Definition Classes
    RandomVariable
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  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 RandomVariable[Domain]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped