Gate

scalation.modeling.forecasting.neuralforecasting.Gate
case class Gate(n_seq: Int, n_mem: Int, n_var: Int)

The Gate case class holds information on the gate's value and its partial derivatives.

Value parameters

n_mem

the size for hidden state (h) (dimensionality of memory)

n_seq

the length of the time series

n_var

the number of variables

Attributes

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

Members list

Value members

Concrete methods

def +=(dIn: VectorD, x_t: VectorD, h_tm1: VectorD): Unit
def apply(t: Int): VectorD
def update(t: Int, vv: VectorD): Unit

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

var dU: MatrixD
var dW: MatrixD
var db: VectorD
val v: MatrixD