Packages

case class NetParam(w: MatriD, b: VectoD = null) extends Product with Serializable

The NetParam class bundles parameter weights and biases together.

w

the weight matrix

b

the optional bias/intercept vector (null => not used)

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NetParam
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NetParam(w: MatriD, b: VectoD = null)

    w

    the weight matrix

    b

    the optional bias/intercept vector (null => not used)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def *(x: MatriD): MatriD

    Multiply matrix 'x' by the weight matrix 'w' and add the bias vector 'b'.

    Multiply matrix 'x' by the weight matrix 'w' and add the bias vector 'b'.

    x

    the matrix to multiply by

  4. def *:(x: MatriD): MatriD

    Multiply matrix 'x' by the weight matrix 'w' and add the bias vector 'b'.

    Multiply matrix 'x' by the weight matrix 'w' and add the bias vector 'b'. This is the right associative version (NetParam on the left).

    x

    the matrix to multiply by

  5. def +=(cw: MatriD, cb: VectoD = null): Unit

    Add and assign the changes to the parameters (weights and biases).

    Add and assign the changes to the parameters (weights and biases).

    cw

    the change to the weights

    cb

    the change to the baises

  6. def +=(c: NetParam): Unit

    Add and assign the changes to the parameters (weights and biases).

    Add and assign the changes to the parameters (weights and biases).

    c

    the change to the parameters

  7. def -=(cw: MatriD, cb: VectoD = null): Unit

    Subtract and assign the changes to the parameters (weights and biases).

    Subtract and assign the changes to the parameters (weights and biases).

    cw

    the change to the weights

    cb

    the change to the baises

  8. def -=(c: NetParam): Unit

    Subtract and assign the changes to the parameters (weights and biases).

    Subtract and assign the changes to the parameters (weights and biases).

    c

    the change to the parameters

  9. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. var b: VectoD
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  13. def copy: NetParam

    Make a copy of the network parameters.

  14. def dot(x: VectoD): VectoD

    Multiply vector 'x' by the weight matrix 'w' and add the bias vector 'b'.

    Multiply vector 'x' by the weight matrix 'w' and add the bias vector 'b'.

    x

    the vector to multiply by

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def set(cw: MatriD, cb: VectoD = null): Unit

    Update/assign '(cw, cb)' to this.

  22. def set(c: NetParam): Unit

    Update/assign 'c' to this.

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String

    Convert this NetParam object to a string showing this ('b') parameter's weight matrix 'b.w' and bias vector 'b.b'.

    Convert this NetParam object to a string showing this ('b') parameter's weight matrix 'b.w' and bias vector 'b.b'.

    Definition Classes
    NetParam → AnyRef → Any
  25. val w: MatriD
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped