org.kramerlab.autoencoder.neuralnet

SigmoidUnitLayer

class SigmoidUnitLayer extends BiasedUnitLayer with Serializable

Layer consisting of a single row of sigmoid units.

Linear Supertypes
BiasedUnitLayer, MatrixParameterizedLayer, Serializable, Serializable, Layer, Visualizable, VectorSpace[Layer], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SigmoidUnitLayer
  2. BiasedUnitLayer
  3. MatrixParameterizedLayer
  4. Serializable
  5. Serializable
  6. Layer
  7. Visualizable
  8. VectorSpace
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SigmoidUnitLayer(scalingFactor: Double, biases: Mat)

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. def *(d: Double): MatrixParameterizedLayer

    Definition Classes
    MatrixParameterizedLayerVectorSpace
  5. def +(other: Layer): MatrixParameterizedLayer

    Definition Classes
    MatrixParameterizedLayerVectorSpace
  6. def -(other: Layer): MatrixParameterizedLayer

    Definition Classes
    MatrixParameterizedLayerVectorSpace
  7. def /(d: Double): MatrixParameterizedLayer

    Definition Classes
    MatrixParameterizedLayerVectorSpace
  8. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  10. def activation(x: Double): Double

    Activation function of the neurons

    Activation function of the neurons

    Definition Classes
    SigmoidUnitLayerBiasedUnitLayer
  11. def activation(ds: Mat): Mat

    Definition Classes
    BiasedUnitLayer
  12. def activityColorscheme: (Double) ⇒ Int

    Color map for the activities

    Color map for the activities

    Definition Classes
    Layer
  13. def activityShape: Option[(Int, Int)]

    Optionally, one can specify how to reshape the neuron activities for visualization (height, width).

    Optionally, one can specify how to reshape the neuron activities for visualization (height, width).

    Definition Classes
    Layer
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def build(newBiases: Mat): SigmoidUnitLayer

  16. var cachedInputPlusBias: Mat

    Attributes
    protected
    Definition Classes
    BiasedUnitLayer
  17. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def derivative(x: Double): Double

    Calculates the derivative of the activation function

    Calculates the derivative of the activation function

    Definition Classes
    SigmoidUnitLayerBiasedUnitLayer
  19. def derivative(ds: Mat): Mat

    Definition Classes
    BiasedUnitLayer
  20. def dot(other: Layer): Double

    Definition Classes
    MatrixParameterizedLayerVectorSpace
  21. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  25. def gradAndBackpropagationError(backpropagatedError: Mat): (MatrixParameterizedLayer, Mat)

    Calculates the gradient by pointwise multiplying the backpropagated error passed from above with the pointwise application of the derivative function to the cachedInputPlusBias, and summing the rows.

    Calculates the gradient by pointwise multiplying the backpropagated error passed from above with the pointwise application of the derivative function to the cachedInputPlusBias, and summing the rows. The matrix obtained before summing the rows is the new backpropagated error.

    backpropagatedError

    error propagated from above, formatted the same way (one row for each example) as input and output

    returns

    gradient (Layer-valued) and the next backpropagated error

    Definition Classes
    BiasedUnitLayerLayer
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. val inputDimension: Int

    Definition Classes
    BiasedUnitLayerLayer
  28. def isInfinite: Boolean

    Definition Classes
    MatrixParameterizedLayerVectorSpace
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. def isInvalid: Boolean

    Definition Classes
    MatrixParameterizedLayerVectorSpace
  31. def isNaN: Boolean

    Definition Classes
    MatrixParameterizedLayerVectorSpace
  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. def norm: Double

    Definition Classes
    VectorSpace
  34. def normSq: Double

    Definition Classes
    VectorSpace
  35. def normalized: Layer

    Definition Classes
    VectorSpace
  36. final def notify(): Unit

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

    Definition Classes
    AnyRef
  38. val outputDimension: Int

    Definition Classes
    BiasedUnitLayerLayer
  39. val parameters: Mat

    Definition Classes
    MatrixParameterizedLayer
  40. def propagate(input: Mat): Mat

    Adds biases to each row of the input and applies the activation function pointwise.

    Adds biases to each row of the input and applies the activation function pointwise.

    Caches the input matrix with added biases in cachedInputPlusBias

    Definition Classes
    BiasedUnitLayerLayer
  41. def reverseLayer: MatrixParameterizedLayer

    The reversal is trivial, just

    The reversal is trivial, just

    Definition Classes
    BiasedUnitLayerLayer
  42. def reversePropagate(output: Mat): Mat

    Does exactly the same as the propagate method.

    Does exactly the same as the propagate method.

    Definition Classes
    BiasedUnitLayerLayer
  43. val scalingFactor: Double

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

    Definition Classes
    AnyRef
  45. def toImage: BufferedImage

    Definition Classes
    MatrixParameterizedLayerVisualizable
  46. def toImage(w: Int, h: Int): BufferedImage

    Definition Classes
    Visualizable
  47. def toImage(colormap: (Double) ⇒ Int): BufferedImage

    Definition Classes
    Visualizable
  48. def toString(): String

    Definition Classes
    SigmoidUnitLayer → AnyRef → Any
  49. def unary_-: MatrixParameterizedLayer

    Definition Classes
    MatrixParameterizedLayerVectorSpace
  50. def visualizeActivity(activity: Mat): BufferedImage

    Definition Classes
    Layer
  51. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def zero: MatrixParameterizedLayer

    Definition Classes
    MatrixParameterizedLayerVectorSpace

Inherited from BiasedUnitLayer

Inherited from MatrixParameterizedLayer

Inherited from Serializable

Inherited from Serializable

Inherited from Layer

Inherited from Visualizable

Inherited from VectorSpace[Layer]

Inherited from AnyRef

Inherited from Any

Ungrouped