kr.ac.kaist.ir.deep.network

BasicNetwork

class BasicNetwork extends Network

Network: A basic network implementation

Linear Supertypes
Network, Serializable, Serializable, (ScalarMatrix) ⇒ ScalarMatrix, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BasicNetwork
  2. Network
  3. Serializable
  4. Serializable
  5. Function1
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BasicNetwork(layers: IndexedSeq[Layer])

    layers

    Sequence of layers of this network

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. val W: IndexedSeq[ScalarMatrix]

    All weights of layers

    All weights of layers

    returns

    all weights of layers

    Definition Classes
    BasicNetworkNetwork
  5. def andThen[A](g: (ScalarMatrix) ⇒ A): (ScalarMatrix) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  6. def apply(in: ScalarMatrix): ScalarMatrix

    Compute output of neural network with given input If drop-out is used, to average drop-out effect, we need to multiply output by presence probability.

    Compute output of neural network with given input If drop-out is used, to average drop-out effect, we need to multiply output by presence probability.

    in

    an input vector

    returns

    output of the vector

    Definition Classes
    BasicNetwork → Function1
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compose[A](g: (A) ⇒ ScalarMatrix): (A) ⇒ ScalarMatrix

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. val dW: IndexedSeq[ScalarMatrix]

    All accumulated delta weights of layers

    All accumulated delta weights of layers

    returns

    all accumulated delta weights

    Definition Classes
    BasicNetworkNetwork
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  16. var input: Seq[ScalarMatrix]

    Collected input & output of each layer

    Collected input & output of each layer

    Attributes
    protected[kr.ac.kaist.ir.deep]
  17. def into_:(x: ScalarMatrix): ScalarMatrix

    Forward computation for training.

    Forward computation for training. If drop-out is used, we need to drop-out entry of input vector.

    x

    input matrix

    returns

    output matrix

    Attributes
    protected[kr.ac.kaist.ir.deep]
    Definition Classes
    BasicNetworkNetwork
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. val layers: IndexedSeq[Layer]

    Sequence of layers of this network

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

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

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

    Definition Classes
    AnyRef
  23. def of(x: ScalarMatrix): ScalarMatrix

    Sugar: Forward computation for validation.

    Sugar: Forward computation for validation. Calls apply(x)

    x

    input matrix

    returns

    output matrix

    Attributes
    protected[kr.ac.kaist.ir.deep]
    Definition Classes
    Network
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toJSON: JsObject

    Serialize network to JSON

    Serialize network to JSON

    returns

    JsObject of this network

    Definition Classes
    BasicNetworkNetwork
  26. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  27. def updateBy(err: ScalarMatrix): ScalarMatrix

    Backpropagation algorithm

    Backpropagation algorithm

    err

    backpropagated error from error function

    Attributes
    protected[kr.ac.kaist.ir.deep]
    Definition Classes
    BasicNetworkNetwork
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Network

Inherited from Serializable

Inherited from Serializable

Inherited from (ScalarMatrix) ⇒ ScalarMatrix

Inherited from AnyRef

Inherited from Any

Ungrouped