Object/Class

org.apache.spark.ml.odkl

DSVRGD

Related Docs: class DSVRGD | package odkl

Permalink

object DSVRGD extends Serializable with HasNetlibBlas with HasLossHistory

Linear Supertypes
HasLossHistory, HasNetlibBlas, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DSVRGD
  2. HasLossHistory
  3. HasNetlibBlas
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class DistributedSgdState(weights: DenseMatrix, accumulatedGradient: DenseMatrix, accumulatedWeights: DenseMatrix, accumulatedLoss: DenseVector, partsCount: Int) extends HasNetlibBlas with Product with Serializable

    Permalink

    Helper used to store and mere epoch state

  2. case class LossRecord(label: String, iteration: Int, loss: Double) extends Product with Serializable

    Permalink

    Helper for creating loss history data frame

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. val WeightDiffHistory: Block

    Permalink

    Summary block used for keeping loss history.

  5. val WeightNormHistory: Block

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def axpy(a: Double, x: Vector, y: Array[Double]): Unit

    Permalink
    Definition Classes
    HasNetlibBlas
  8. def axpy(a: Double, x: Array[Double], y: Array[Double]): Unit

    Permalink
    Definition Classes
    HasNetlibBlas
  9. def blas: BLAS

    Permalink
    Definition Classes
    HasNetlibBlas
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def copy(x: Array[Double], y: Array[Double]): Unit

    Permalink
    Definition Classes
    HasNetlibBlas
  12. def dscal(a: Double, data: Array[Double]): Unit

    Permalink
    Definition Classes
    HasNetlibBlas
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def f2jBLAS: BLAS

    Permalink
    Definition Classes
    HasNetlibBlas
  16. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  20. val iteration: String

    Permalink
    Definition Classes
    HasLossHistory
  21. val label: String

    Permalink
    Definition Classes
    HasLossHistory
  22. def linear(weights: Matrix, features: DenseMatrix, labels: DenseMatrix, updateTerm: DenseMatrix, marginCache: DenseMatrix, lossCache: DenseVector): Unit

    Permalink

    Linear regression gradient and loss (sguared loss)

  23. def linearWeightsDistance(oldWeights: Matrix, newWeights: DenseMatrix, label: Int): Double

    Permalink

    For linear regression weights are compared based on relative euclidean distance.

  24. def logistic(weights: Matrix, features: DenseMatrix, labels: DenseMatrix, updateTerm: DenseMatrix, marginCache: DenseMatrix, lossCache: DenseVector): Unit

    Permalink

    Logistic regression gradiend and loss (logistic loss)

  25. def logisticInitialization(data: DataFrame, numLabels: Int, numFeatures: Int): Matrix

    Permalink
  26. def logisticWeightsDistance(oldWeights: Matrix, newWeights: DenseMatrix, label: Int): Double

    Permalink

    For logistic regression weights are compared based on cosine distance

  27. val loss: String

    Permalink
    Definition Classes
    HasLossHistory
  28. val lossHistory: Block

    Permalink
    Definition Classes
    HasLossHistory
  29. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. val testLoss: String

    Permalink
    Definition Classes
    HasLossHistory
  34. def toString(): String

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

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

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

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

Inherited from HasLossHistory

Inherited from HasNetlibBlas

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped