C# Class Nn.Neural_network

Mostrar archivo Open project: fabelier/tansegrity-game Class Usage Examples

Public Properties

Property Type Description
network List>

Public Methods

Method Description
Neural_network ( ) : UnityEngine
Neural_network ( List Nn ) : UnityEngine
Neural_network ( List network_weight ) : UnityEngine
Neural_network ( List n_neuronIlayer ) : UnityEngine
Neural_network ( Neural_network neuroNet ) : UnityEngine
addNeuron ( int layer_num, Neuron neur ) : void
fire ( List network_input ) : List
getLayer ( int layer_num ) : List
getNbLayer ( ) : int
getNbNeuronAtLayer ( int layer_num ) : int
getNetwork ( ) : List>
getNeuron ( int layer_num, int Neuron_num ) : Neuron
getOutput ( ) : List
getWeigth ( int layer_num, int Neuron_num, int weigth_num ) : double
gradientRetropropagation ( List targetOutput, double lambda = 0.4 ) : void
setWeigth ( double w, int layer_num, int Neuron_num, int weigth_num ) : void
size ( ) : string
toString ( ) : void

Private Methods

Method Description
predictionError ( List target ) : List
prod ( List list1, List list2 ) : double
sigmoidDerivate ( double val, double lambda = 0.2 ) : double

Method Details

Neural_network() public method

public Neural_network ( ) : UnityEngine
return UnityEngine

Neural_network() public method

public Neural_network ( List Nn ) : UnityEngine
Nn List
return UnityEngine

Neural_network() public method

public Neural_network ( List network_weight ) : UnityEngine
network_weight List
return UnityEngine

Neural_network() public method

public Neural_network ( List n_neuronIlayer ) : UnityEngine
n_neuronIlayer List
return UnityEngine

Neural_network() public method

public Neural_network ( Neural_network neuroNet ) : UnityEngine
neuroNet Neural_network
return UnityEngine

addNeuron() public method

public addNeuron ( int layer_num, Neuron neur ) : void
layer_num int
neur Neuron
return void

fire() public method

public fire ( List network_input ) : List
network_input List
return List

getLayer() public method

public getLayer ( int layer_num ) : List
layer_num int
return List

getNbLayer() public method

public getNbLayer ( ) : int
return int

getNbNeuronAtLayer() public method

public getNbNeuronAtLayer ( int layer_num ) : int
layer_num int
return int

getNetwork() public method

public getNetwork ( ) : List>
return List>

getNeuron() public method

public getNeuron ( int layer_num, int Neuron_num ) : Neuron
layer_num int
Neuron_num int
return Neuron

getOutput() public method

public getOutput ( ) : List
return List

getWeigth() public method

public getWeigth ( int layer_num, int Neuron_num, int weigth_num ) : double
layer_num int
Neuron_num int
weigth_num int
return double

gradientRetropropagation() public method

public gradientRetropropagation ( List targetOutput, double lambda = 0.4 ) : void
targetOutput List
lambda double
return void

setWeigth() public method

public setWeigth ( double w, int layer_num, int Neuron_num, int weigth_num ) : void
w double
layer_num int
Neuron_num int
weigth_num int
return void

size() public method

public size ( ) : string
return string

toString() public method

public toString ( ) : void
return void

Property Details

network public_oe property

public List> network
return List>