Class

com.github.gradientgmm.components

AcceleratedGradientUtils

Related Doc: package components

Permalink

abstract class AcceleratedGradientUtils[T] extends Serializable

Wraps necessary data strctures for accelerated gradient ascent methods.

Intializes and stores the necessary numeric data structures to calculate ascent directions. It only initializes such objects when they are called, avoiding storing unecessary arrays.

T

The structure data type, e.g., DenseVector or DenseMatrix

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AcceleratedGradientUtils
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AcceleratedGradientUtils(zeroGenerator: (Int) ⇒ T, d: Int)

    Permalink

    zeroGenerator

    Function that initialize the data structures to zero.

    d

    The data structure dimension(s).

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. var adamInfo: Option[T]

    Permalink

    ADAM information data structure

  5. final def asInstanceOf[T0]: T0

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

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

    Permalink

    The data structure dimension(s).

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def initializeAdamInfo: Unit

    Permalink

    Set ADAM information to zero

    Set ADAM information to zero

    returns

    returns this object

  14. def initializeMomentum: Unit

    Permalink

    Set momentum to zero

    Set momentum to zero

    returns

    returns this object

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def lighten: AcceleratedGradientUtils.this.type

    Permalink

    Reset (Throw away) the momentum and ADAM terms

    Reset (Throw away) the momentum and ADAM terms

    returns

    returns this object

  17. var momentum: Option[T]

    Permalink

    momentum term data structure

  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def setAdamInfo(x: T): Unit

    Permalink

    Set the ADAM term equal to x.

    Set the ADAM term equal to x. See com.github.gradientgmm.optim.ADAM

    returns

    returns this object

  22. def setMomentum(x: T): Unit

    Permalink

    Set the momentum term equal to x.

    Set the momentum term equal to x. See com.github.gradientgmm.optim.MomentumGradientAscent

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. val zeroGenerator: (Int) ⇒ T

    Permalink

    Function that initialize the data structures to zero.

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped