AFF

scalation.modeling.AFF
case class AFF(name: String, f: FunctionS2S, f_: FunctionV2V, d: FunctionV2V, bounds: (Double, Double) = ..., arange: (Double, Double) = ...)

The AFF class holds an Activation Function Family (AFF).

Value parameters

arange

the (lower, upper) bounds on the input (active) range of the activation function e.g., (-2, 2) for sigmoid, defaults to null => no limit

bounds

the (lower, upper) bounds on the output range of the activation function, e.g., (0, 1) for sigmoid, defaults to null => no limit

d

the vector version of the activation function derivative

f

the activation function itself (scalar version)

f_

the vector version of the activation function

name

the name of the activation function

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product

Concrete fields

val dM: MatrixD => MatrixD
val fM: MatrixD => MatrixD