NeuralNet_Class_3L

scalation.modeling.classifying.NeuralNet_Class_3L
See theNeuralNet_Class_3L companion class
object NeuralNet_Class_3L extends Scaling

The NeuralNet_Class_3L 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_Class_3L

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

Create a NeuralNet_Class_3L 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: VectorI, fname: Array[String], cname: Array[String], nz: Int, hparam: HyperParameter, f: AFF): NeuralNet_Class_3L

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

Create a NeuralNet_Class_3L 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 vector

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