Packages

class ConvNetLayer_1D extends AnyRef

The ConvNetLayer_1D class implements a Convolutionsl Net Layer, meant to be part of Convolutionsl Net classifier. The classifier is trained using a data tensor 'x' and a classification vector 'y'.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConvNetLayer_1D
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ConvNetLayer_1D(x: MatriD, y: VectoI, nf: Int = 1, width: Int = 5)

    x

    the input/data matrix with instances stored in rows

    y

    the response/classification vector, where y_i = class for row i of matrix x

    nf

    the number of filters for this convolutional layer

    width

    the width of the filters

Value Members

  1. def filter(i: Int, f: Int): VectoD

    Filter the 'i'-th input vector with the 'f'-th filter.

    Filter the 'i'-th input vector with the 'f'-th filter.

    i

    the index of the 'i'th row of the tensor

    f

    the index of the 'f'th filter

  2. def updateFilterParams(f: Int, vec2: VectoD): Unit

    Update filter 'f's parameters.

    Update filter 'f's parameters.

    f

    the index for the filter

    vec2

    the new paramters for the filter's vector