CNN_1D

scalation.modeling.neuralnet.CNN_1D
See theCNN_1D companion class
object CNN_1D extends Scaling

The CNN_1D companion object provides factory methods for creating 1D convolutional neural networks.

Attributes

Companion
class
Graph
Supertypes
trait Scaling
class Object
trait Matchable
class Any
Self type
CNN_1D.type

Members list

Value members

Concrete methods

def apply(xy: MatrixD): CNN_1D
def rescale(x: MatrixD, y: MatrixD, fname: Array[String], nf: Int, nc: Int, hparam: HyperParameter, f: AFF, f1: AFF): CNN_1D

Create a CNN_1D with automatic rescaling from a data matrix and response matrix.

Create a CNN_1D with automatic rescaling from a data matrix and response matrix.

Value parameters

f

the activation function family for layers 1->2 (input to hidden)

f1

the activation function family for layers 2->3 (hidden to output)

fname

the feature/variable names (defaults to null)

hparam

the hyper-parameters for the model/network

itran

the inverse transformation function returns responses to original scale

nc

the width of the filters (size of cofilters)

nf

the number of filters for this convolutional layer

x

the input/data matrix with instances stored in rows

y

the output/response matrix, where y_i = response for row i of matrix x

Attributes

def updateParam(x_: MatrixD, z: MatrixD, δ0: MatrixD, δ1: MatrixD, η: Double, c: VectorD, b: NetParam): Unit

Update the parameters: the weights in the convolutional filter c and the weights biases in the fully-connected layer b.

Update the parameters: the weights in the convolutional filter c and the weights biases in the fully-connected layer b.

Value parameters

b

the fully-connectd layer parameters

c

the convolution filter vector

x_

the training/full data/input matrix

z

the training/full response/output matrix

δ0

the convolutional layer delta

δ1

the fully-connectd layer delta

Attributes

Inherited methods

def setScale(scale_: Boolean): Unit

Set the scale flag to the given value.

Set the scale flag to the given value.

Value parameters

scale_

the new value for the scale flag

Attributes

Inherited from:
Scaling

Inherited fields

protected var scale: Boolean

The 'scale' flag indicated whether the data is to be rescaled/normalized

The 'scale' flag indicated whether the data is to be rescaled/normalized

Attributes

Inherited from:
Scaling