org.kramerlab.autoencoder.neuralnet.rbm

BernoulliUnitLayer

class BernoulliUnitLayer extends UnscaledSigmoidUnitLayer with RbmLayer with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BernoulliUnitLayer
  2. RbmLayer
  3. Cloneable
  4. Cloneable
  5. UnscaledSigmoidUnitLayer
  6. SigmoidUnitLayer
  7. BiasedUnitLayer
  8. MatrixParameterizedLayer
  9. Serializable
  10. Serializable
  11. Layer
  12. Visualizable
  13. VectorSpace
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BernoulliUnitLayer()

  2. new BernoulliUnitLayer(dimension: Int)

  3. new BernoulliUnitLayer(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
    UnscaledSigmoidUnitLayerSigmoidUnitLayerBiasedUnitLayer
  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(biases: Mat): BernoulliUnitLayer

  16. var cachedInputPlusBias: Mat

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def copy: BernoulliUnitLayer

    Definition Classes
    BernoulliUnitLayerRbmLayer
  19. def derivative(x: Double): Double

    Calculates the derivative of the activation function

    Calculates the derivative of the activation function

    Definition Classes
    UnscaledSigmoidUnitLayerSigmoidUnitLayerBiasedUnitLayer
  20. def derivative(ds: Mat): Mat

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  26. 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
  27. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  28. val inputDimension: Int

    Definition Classes
    BiasedUnitLayerLayer
  29. def isInfinite: Boolean

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

    Definition Classes
    Any
  31. def isInvalid: Boolean

    Definition Classes
    MatrixParameterizedLayerVectorSpace
  32. def isNaN: Boolean

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

    Definition Classes
    AnyRef
  34. def norm: Double

    Definition Classes
    VectorSpace
  35. def normSq: Double

    Definition Classes
    VectorSpace
  36. def normalized: Layer

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

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

    Definition Classes
    AnyRef
  39. val outputDimension: Int

    Definition Classes
    BiasedUnitLayerLayer
  40. val parameters: Mat

    Definition Classes
    MatrixParameterizedLayer
  41. 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
  42. def reinitialize(biasScaling: Double): RbmLayer

    Definition Classes
    BernoulliUnitLayerRbmLayer
  43. def reverseLayer: MatrixParameterizedLayer

    The reversal is trivial, just

    The reversal is trivial, just

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

    Does exactly the same as the propagate method.

    Does exactly the same as the propagate method.

    Definition Classes
    BiasedUnitLayerLayer
  45. def sample(activation: Double): Double

    Definition Classes
    BernoulliUnitLayerRbmLayer
  46. def sample(activation: Mat): Mat

    Definition Classes
    RbmLayer
  47. val scalingFactor: Double

    Definition Classes
    SigmoidUnitLayer
  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  49. def toImage: BufferedImage

    Definition Classes
    RbmLayerVisualizable
  50. def toImage(w: Int, h: Int): BufferedImage

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

    Definition Classes
    Visualizable
  52. def toString(): String

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

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

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

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

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

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

    Definition Classes
    MatrixParameterizedLayerVectorSpace

Inherited from RbmLayer

Inherited from Cloneable

Inherited from Cloneable

Inherited from UnscaledSigmoidUnitLayer

Inherited from SigmoidUnitLayer

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