Class/Object

io.github.mandar2812.dynaml.optimization

ConjugateGradient

Related Docs: object ConjugateGradient | package optimization

Permalink

class ConjugateGradient extends RegularizedOptimizer[DenseVector[Double], DenseVector[Double], Double, Iterable[CausalEdge]]

Linear Supertypes
RegularizedOptimizer[DenseVector[Double], DenseVector[Double], Double, Iterable[CausalEdge]], Optimizer[DenseVector[Double], DenseVector[Double], Double, Iterable[CausalEdge]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConjugateGradient
  2. RegularizedOptimizer
  3. Optimizer
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConjugateGradient()

    Permalink

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. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getRegParam: Double

    Permalink
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. var miniBatchFraction: Double

    Permalink
    Attributes
    protected
    Definition Classes
    RegularizedOptimizer
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. var numIterations: Int

    Permalink
    Attributes
    protected
    Definition Classes
    RegularizedOptimizer
  18. def optimize(nPoints: Long, ParamOutEdges: Iterable[CausalEdge], initialP: DenseVector[Double]): DenseVector[Double]

    Permalink

    Find the optimum value of the parameters using Gradient Descent.

    Find the optimum value of the parameters using Gradient Descent.

    nPoints

    The number of data points

    ParamOutEdges

    An java.lang.Iterable object having all of the out edges of the parameter node

    initialP

    The initial value of the parameters as a DenseVector

    returns

    The value of the parameters as a DenseVector

    Definition Classes
    ConjugateGradientOptimizer
  19. var regParam: Double

    Permalink
    Attributes
    protected
    Definition Classes
    RegularizedOptimizer
  20. def setMiniBatchFraction(fraction: Double): ConjugateGradient.this.type

    Permalink

    Set fraction of data to be used for each SGD iteration.

    Set fraction of data to be used for each SGD iteration. Default 1.0 (corresponding to deterministic/classical gradient descent)

    Definition Classes
    RegularizedOptimizer
  21. def setNumIterations(iters: Int): ConjugateGradient.this.type

    Permalink

    Set the number of iterations for SGD.

    Set the number of iterations for SGD. Default 100.

    Definition Classes
    RegularizedOptimizer
  22. def setRegParam(regParam: Double): ConjugateGradient.this.type

    Permalink

    Set the regularization parameter.

    Set the regularization parameter. Default 0.0.

    Definition Classes
    RegularizedOptimizer
  23. def setStepSize(step: Double): ConjugateGradient.this.type

    Permalink

    Set the initial step size of SGD for the first step.

    Set the initial step size of SGD for the first step. Default 1.0. In subsequent steps, the step size will decrease with stepSize/sqrt(t)

    Definition Classes
    RegularizedOptimizer
  24. var stepSize: Double

    Permalink
    Attributes
    protected
    Definition Classes
    RegularizedOptimizer
  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RegularizedOptimizer[DenseVector[Double], DenseVector[Double], Double, Iterable[CausalEdge]]

Inherited from Optimizer[DenseVector[Double], DenseVector[Double], Double, Iterable[CausalEdge]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped