NeuralNet_2L_Ck

scalation.modeling.neuralnet.NeuralNet_2L_Ck
See theNeuralNet_2L_Ck companion class
object NeuralNet_2L_Ck extends Scaling

The NeuralNet_2L_Ck companion object provides factory methods for building three-layer (one hidden layer) neural network classifiers. Note, 'scale' is defined in Scaling.

Attributes

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

Members list

Value members

Concrete methods

def apply(xy: MatrixD, fname: Array[String], cname: Array[String], nz: Int, hparam: HyperParameter, f: AFF)(col: Int): NeuralNet_2L_Ck

Create a NeuralNet_2L_Ck classifier for the given combined matrix where the column col is the response/classification vector.

Create a NeuralNet_2L_Ck classifier for the given combined matrix where the column col is the response/classification vector.

Value parameters

cname

the names for all classes

col

the designated response column (defaults to the last column)

f

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

fname

the names for all features/variables

hparam

the hyper-parameters

nz

the number of nodes in hidden layer

xy

the combined data matrix (features and response)

Attributes

def rescale(x: MatrixD, y: MatrixI, fname: Array[String], cname: Array[String], nz: Int, hparam: HyperParameter, f: AFF): NeuralNet_2L_Ck

Create a NeuralNet_2L_Ck classifier for a data matrix and response vector.

Create a NeuralNet_2L_Ck classifier for a data matrix and response vector.

Value parameters

cname

the names for all classes

f

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

fname

the feature/variable names

hparam

the hyper-parameters

nz

the number of nodes in hidden layer

x

the input/data matrix

y

the output/response matrix

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

Concrete fields

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