Class

com.github.gradientgmm.components

UpdatableWeights

Related Doc: package components

Permalink

class UpdatableWeights extends Serializable with VectorParamUpdate

Wrapper class for weights vector.

It includes functionality to verify simplex constraints and accelerated ascent data structures.

see https://en.wikipedia.org/wiki/Simplex

Linear Supertypes
VectorParamUpdate, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UpdatableWeights
  2. VectorParamUpdate
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UpdatableWeights(weights: Array[Double])

    Permalink

    weights

    weight vector

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val d: Int

    Permalink

    weight vector dimensionality

  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def isInSimplex(w: Array[Double]): Boolean

    Permalink

    Checks whether the given vector is within acceptable distance to the weight simplex

    Checks whether the given vector is within acceptable distance to the weight simplex

    w

    weight vector

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def isPositive(w: Array[Double]): Boolean

    Permalink

    Checks that the initial weight vector does not contains any single negative or null weight element, in which case it returns false

    Checks that the initial weight vector does not contains any single negative or null weight element, in which case it returns false

    w

    weight vector

  15. def length: Int

    Permalink

    returns weigh vector dimensionality

  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. val optimUtils: VectorGradientUtils

    Permalink

    accelerated gradient ascent utilities.

    accelerated gradient ascent utilities. See AcceleratedGradientUtils

    Definition Classes
    UpdatableWeightsVectorParamUpdate
  20. var simplexErrorTol: Double

    Permalink
  21. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def update(newParam: DenseVector[Double]): Unit

    Permalink

    Replaces the weight vector with a new one, checking for correctness beforehand

    Replaces the weight vector with a new one, checking for correctness beforehand

    Definition Classes
    UpdatableWeightsVectorParamUpdate
  24. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. var weights: Array[Double]

    Permalink

    weight vector

Inherited from VectorParamUpdate

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped