C# Класс Accord.Neuro.ActivationNetwork

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

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

Метод Описание
ActivationNetwork ( IActivationFunction function, int inputsCount ) : System

Initializes a new instance of the ActivationNetwork class.

The new network is randomized (see ActivationNeuron.Randomize method) after it is created.

SetActivationFunction ( IActivationFunction function ) : void

Set new activation function for all neurons of the network.

The method sets new activation function for all neurons by calling ActivationLayer.SetActivationFunction method for each layer of the network.

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

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

Initializes a new instance of the ActivationNetwork class.
The new network is randomized (see ActivationNeuron.Randomize method) after it is created.
public ActivationNetwork ( IActivationFunction function, int inputsCount ) : System
function IActivationFunction Activation function of neurons of the network.
inputsCount int Network's inputs count.
Результат System

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

Set new activation function for all neurons of the network.

The method sets new activation function for all neurons by calling ActivationLayer.SetActivationFunction method for each layer of the network.

public SetActivationFunction ( IActivationFunction function ) : void
function IActivationFunction Activation function to set.
Результат void