Perceptron

scalation.modeling.Perceptron
See thePerceptron companion class
object Perceptron extends Scaling

The Perceptron companion object provides factory methods for creating perceptrons.

Attributes

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

Members list

Value members

Concrete methods

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

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

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

Value parameters

col

the designated response column (defaults to the last column)

f

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

fname

the feature/variable names (defaults to null)

hparam

the hyper-parameters (defaults to hp)

xy

the combined data/input and response/output matrix

Attributes

def rescale(x: MatrixD, y: VectorD, fname: Array[String], hparam: HyperParameter, f: AFF): Perceptron

Create a Perceptron with automatic rescaling from a data matrix and response vector.

Create a Perceptron with automatic rescaling from a data matrix and response vector.

Value parameters

f

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

fname

the feature/variable names (defaults to null)

hparam

the hyper-parameters (defaults to hp)

x

the data/input matrix

y

the response/output 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

hyper-parameters for tuning the optimization algorithms - user tuning

hyper-parameters for tuning the optimization algorithms - user tuning

Attributes

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