n2p2 - A neural network potential package
nnp::NeuralNetwork::Neuron Struct Reference

A single neuron. More...

Collaboration diagram for nnp::NeuralNetwork::Neuron:

Public Attributes

long count
 How often the value of this neuron has been evaluated. More...
 
double x
 Neuron value before application of activation function. More...
 
double value
 Neuron value. More...
 
double dfdx
 Derivative of activation function with respect to its argument \( \frac{\partial f_a}{\partial x} \). More...
 
double d2fdx2
 Second derivative of activation function with respect to its argument \( \frac{\partial^2 f_a}{\partial x^2} \). More...
 
double bias
 Bias value assigned to this neuron (if this is neuron \( y_i^n \) this bias value is \( b_{i}^{n} \)). More...
 
double dxdG
 Derivative of neuron value before application of activation function with respect to input layer neurons \( \frac{\partial x}{\partial G} \). More...
 
double min
 Minimum neuron value over data set (neuron statistics). More...
 
double max
 Maximum neuron value over data set (neuron statistics). More...
 
double sum
 Sum of neuron values over data set (neuron statistics). More...
 
double sum2
 Sum of squared neuron values over data set (neuron statistics). More...
 
double * weights
 NN weights assigned to neuron. More...
 

Detailed Description

A single neuron.

Definition at line 357 of file NeuralNetwork.h.

Member Data Documentation

◆ count

long nnp::NeuralNetwork::Neuron::count

◆ x

double nnp::NeuralNetwork::Neuron::x

Neuron value before application of activation function.

Definition at line 362 of file NeuralNetwork.h.

Referenced by nnp::NeuralNetwork::allocateLayer(), and nnp::NeuralNetwork::propagateLayer().

◆ value

◆ dfdx

double nnp::NeuralNetwork::Neuron::dfdx

◆ d2fdx2

double nnp::NeuralNetwork::Neuron::d2fdx2

Second derivative of activation function with respect to its argument \( \frac{\partial^2 f_a}{\partial x^2} \).

Definition at line 370 of file NeuralNetwork.h.

Referenced by nnp::NeuralNetwork::allocateLayer(), nnp::NeuralNetwork::calculateD2EdGdc(), and nnp::NeuralNetwork::propagateLayer().

◆ bias

double nnp::NeuralNetwork::Neuron::bias

Bias value assigned to this neuron (if this is neuron \( y_i^n \) this bias value is \( b_{i}^{n} \)).

Definition at line 373 of file NeuralNetwork.h.

Referenced by nnp::NeuralNetwork::allocateLayer(), nnp::NeuralNetwork::getConnections(), nnp::NeuralNetwork::modifyConnections(), nnp::NeuralNetwork::propagateLayer(), and nnp::NeuralNetwork::setConnections().

◆ dxdG

double nnp::NeuralNetwork::Neuron::dxdG

Derivative of neuron value before application of activation function with respect to input layer neurons \( \frac{\partial x}{\partial G} \).

Definition at line 377 of file NeuralNetwork.h.

Referenced by nnp::NeuralNetwork::allocateLayer(), nnp::NeuralNetwork::calculateD2EdGdc(), and nnp::NeuralNetwork::calculateDxdG().

◆ min

double nnp::NeuralNetwork::Neuron::min

◆ max

double nnp::NeuralNetwork::Neuron::max

◆ sum

double nnp::NeuralNetwork::Neuron::sum

◆ sum2

double nnp::NeuralNetwork::Neuron::sum2

◆ weights


The documentation for this struct was generated from the following file: