C# Class BPNN, uBAD

Inheritance: MonoBehaviour
Mostra file Open project: simonwittber/uBAD Class Usage Examples

Public Properties

Property Type Description
inputCount int

Public Methods

Method Description
Awake ( ) : void
ConstructNN ( int ni, int nh, int no ) : void
Start ( ) : void
Test ( TrainingPair patterns ) : void
Train ( TrainingPair patterns, int iter = 100, double N = 0.5, double M = 0.1 ) : void

Private Methods

Method Description
BackPropagate ( double targets, double N, double M ) : double
Calculate ( double inputs ) : double[]
DSigmoid ( double y ) : double
NewArray ( int length, double fill ) : double[]
NewMatrix ( int I, int J, double fill = 0.0 ) : ].double[
Sigmoid ( double x ) : double

Method Details

Awake() public method

public Awake ( ) : void
return void

ConstructNN() public method

public ConstructNN ( int ni, int nh, int no ) : void
ni int
nh int
no int
return void

Start() public method

public Start ( ) : void
return void

Test() public method

public Test ( TrainingPair patterns ) : void
patterns TrainingPair
return void

Train() public method

public Train ( TrainingPair patterns, int iter = 100, double N = 0.5, double M = 0.1 ) : void
patterns TrainingPair
iter int
N double
M double
return void

Property Details

inputCount public_oe property

public int inputCount
return int