org.apache.spark.ml.odkl

DSVRGD

object DSVRGD extends Serializable with HasNetlibBlas

Linear Supertypes
HasNetlibBlas, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DSVRGD
  2. HasNetlibBlas
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
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

    Helper used to store and mere epoch state

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

    Helper for creating loss history data frame

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val LossHistory: Block

    Summary block used for keeping loss history.

  7. val WeightDiffHistory: Block

  8. val WeightNormHistory: Block

  9. final def asInstanceOf[T0]: T0

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

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

    Definition Classes
    HasNetlibBlas
  12. def blas: BLAS

    Definition Classes
    HasNetlibBlas
  13. def clone(): AnyRef

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

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

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

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

    Definition Classes
    AnyRef → Any
  18. def f2jBLAS: BLAS

    Definition Classes
    HasNetlibBlas
  19. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  23. def linear(weights: Matrix, features: DenseMatrix, labels: DenseMatrix, updateTerm: DenseMatrix, marginCache: DenseMatrix, lossCache: DenseVector): Unit

    Linear regression gradient and loss (sguared loss)

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

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

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

    Logistic regression gradiend and loss (logistic loss)

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

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

    For logistic regression weights are compared based on cosine distance

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

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  32. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HasNetlibBlas

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped