C# Класс Nn.Neuron

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Neuron ( ) : UnityEngine
Neuron ( List inputs, System rand ) : UnityEngine
Neuron ( List weight, List input, System rand, bool bias = true ) : UnityEngine
Neuron ( List weight, System rand, bool bias = true ) : UnityEngine
Neuron ( Neuron N ) : UnityEngine
Neuron ( int n_weights, System rand, bool bias = true ) : UnityEngine
activation ( double val, double lambda = 0.2 ) : double
combinaison ( ) : double
fire ( ) : double
getAllInput ( ) : List
getBias ( ) : double
getInput ( int position ) : double
getNbWeigths ( ) : int
getWeigth ( int position ) : double
setBias ( double bias ) : void
setInput ( Input input, int position ) : void
setInput ( double input, int position ) : void
setWeight ( double weights, int position ) : void
toString ( bool debug ) : string

Приватные методы

Метод Описание
combinaison ( List inputs ) : double
main ( List inputs ) : void

Описание методов

Neuron() публичный Метод

public Neuron ( ) : UnityEngine
Результат UnityEngine

Neuron() публичный Метод

public Neuron ( List inputs, System rand ) : UnityEngine
inputs List
rand System
Результат UnityEngine

Neuron() публичный Метод

public Neuron ( List weight, List input, System rand, bool bias = true ) : UnityEngine
weight List
input List
rand System
bias bool
Результат UnityEngine

Neuron() публичный Метод

public Neuron ( List weight, System rand, bool bias = true ) : UnityEngine
weight List
rand System
bias bool
Результат UnityEngine

Neuron() публичный Метод

public Neuron ( Neuron N ) : UnityEngine
N Neuron
Результат UnityEngine

Neuron() публичный Метод

public Neuron ( int n_weights, System rand, bool bias = true ) : UnityEngine
n_weights int
rand System
bias bool
Результат UnityEngine

activation() публичный Метод

public activation ( double val, double lambda = 0.2 ) : double
val double
lambda double
Результат double

combinaison() публичный Метод

public combinaison ( ) : double
Результат double

fire() публичный Метод

public fire ( ) : double
Результат double

getAllInput() публичный Метод

public getAllInput ( ) : List
Результат List

getBias() публичный Метод

public getBias ( ) : double
Результат double

getInput() публичный Метод

public getInput ( int position ) : double
position int
Результат double

getNbWeigths() публичный Метод

public getNbWeigths ( ) : int
Результат int

getWeigth() публичный Метод

public getWeigth ( int position ) : double
position int
Результат double

setBias() публичный Метод

public setBias ( double bias ) : void
bias double
Результат void

setInput() публичный Метод

public setInput ( Input input, int position ) : void
input Input
position int
Результат void

setInput() публичный Метод

public setInput ( double input, int position ) : void
input double
position int
Результат void

setWeight() публичный Метод

public setWeight ( double weights, int position ) : void
weights double
position int
Результат void

toString() публичный Метод

public toString ( bool debug ) : string
debug bool
Результат string