Class

com.lewuathe.dllib.layer

DenoisingAutoEncodeLayer

Related Doc: package layer

Permalink

class DenoisingAutoEncodeLayer extends PretrainLayer with ShapeValidator with Visualizable

Linear Supertypes
Visualizable, PretrainLayer, ShapeValidator, Layer, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DenoisingAutoEncodeLayer
  2. Visualizable
  3. PretrainLayer
  4. ShapeValidator
  5. Layer
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DenoisingAutoEncodeLayer(outputSize: Int, inputSize: Int)

    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 backward(delta: Vector[Double], acts: ActivationStack, model: Model): (Vector[Double], Weight, Bias)

    Permalink

    Calculate the delta of this iteration.

    Calculate the delta of this iteration. The input of the layer in forward phase can be restored from ActivationStack. It returns the delta of input layer of this layer and the delta of coefficient and intercept parameter.

    Definition Classes
    DenoisingAutoEncodeLayerLayer
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def corrupt(input: Vector[Double]): Vector[Double]

    Permalink
    Attributes
    protected
  8. val corruptionLevel: Double

    Permalink
  9. def createTmpLayer(): PretrainLayer

    Permalink

    Returns the form for creating tmp model used while pretraining The layer used as prototype for creating tmp model.

    Returns the form for creating tmp model used while pretraining The layer used as prototype for creating tmp model. Only necessary fields are input size, output size and id.

    returns

    A new pretrain layer that is reversed output and input. It is used mainly for keeping bias value while pretraining.

    Definition Classes
    DenoisingAutoEncodeLayerPretrainLayer
  10. def decode(input: Vector[Double], model: Model, tmpModel: Model): (Vector[Double], Vector[Double])

    Permalink

    Decode hidden layer value to visible layer

    Decode hidden layer value to visible layer

    Definition Classes
    DenoisingAutoEncodeLayerPretrainLayer
  11. def encode(input: Vector[Double], model: Model, tmpModel: Model): (Vector[Double], Vector[Double])

    Permalink

    Encode the input to hidden layer

    Encode the input to hidden layer

    Definition Classes
    DenoisingAutoEncodeLayerPretrainLayer
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def error(label: Vector[Double], prediction: Vector[Double]): Vector[Double]

    Permalink

    Calculate the error of output layer between label data and prediction.

    Calculate the error of output layer between label data and prediction.

    Attributes
    protected
    Definition Classes
    DenoisingAutoEncodeLayerPretrainLayer
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def forward(acts: ActivationStack, model: Model): Vector[Double]

    Permalink

    Calculate the output corresponding given input.

    Calculate the output corresponding given input. Input is given as a top of ActivationStack.

    returns

    The output tuple of the layer. First value of the tuple represents the raw output, the second is applied activation function of the layer.

    Definition Classes
    DenoisingAutoEncodeLayerLayer
  17. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. var id: String

    Permalink
    Definition Classes
    DenoisingAutoEncodeLayerLayer
  20. val inputSize: Int

    Permalink
    Definition Classes
    DenoisingAutoEncodeLayerLayer
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. val outputSize: Int

    Permalink
    Definition Classes
    DenoisingAutoEncodeLayerLayer
  26. def pretrain(acts: ActivationStack, model: Model, tmpModel: Model): ((Weight, Bias), (Weight, Bias), Double)

    Permalink

    Pretraining with input data to the layer.

    Pretraining with input data to the layer. We can assume AutoEncoder can inherit this class. It returns the gradient of weight and bias of the layer.

    returns

    (dWeight1, dBias1): Hidden Layer Gradient (dWeight2, dBias2): Visible Layer Gradient (Hidden Layer Gradient, Visible Layer Gradient)

    Definition Classes
    PretrainLayer
  27. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Layer → AnyRef → Any
  29. def validateParamShapes(weight: Matrix[Double], bias: Vector[Double]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeValidator
  30. def vizWeight(outputPath: String, model: Model): Unit

    Permalink
    Definition Classes
    Visualizable
  31. final def wait(): Unit

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

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

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

Inherited from Visualizable

Inherited from PretrainLayer

Inherited from ShapeValidator

Inherited from Layer

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped