NeuralNet_XL

scalation.modeling.neuralnet.NeuralNet_XL
See theNeuralNet_XL companion class
object NeuralNet_XL extends Scaling

The NeuralNet_XL companion object provides factory methods for creating multi-layer (one+ hidden layers) neural networks. Note, 'scale' is defined in Scaling.

Attributes

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

Members list

Inherited
  • Not inherited
  • Scaling
Visibility
  • public
  • protected

Value members

Concrete methods

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

Create a NeuralNet_XL with automatic rescaling from a combined data matrix.

Create a NeuralNet_XL with automatic rescaling from a combined data matrix.

Value parameters

col

the first designated response column (defaults to the last column)

f

the array of activation function families between every pair of layers

fname

the feature/variable names

hparam

the hyper-parameters

nz

the number of nodes in each hidden layer, e.g., Array (5, 10) means 2 hidden with sizes 5 and 10

xy

the combined input and output matrix

Attributes

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

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

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

Value parameters

f

the array of activation function families between every pair of layers

fname

the feature/variable names

hparam

the hyper-parameters

nz

the number of nodes in hidden layer (-1 => use default formula)

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

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