encog
Version:
Encog is a NodeJs ES6 framework based on the Encog Machine Learning Framework by Jeff Heaton, plus some the of basic data manipulation helpers.
34 lines (28 loc) • 659 B
JavaScript
/**
* Specifies how the inputs to a neuron are to be summed.
*/
class InputSummation {
/**
* Add an input connection.
* @param connection {FreeformConnection} The connection to add.
*/
add(connection){}
/**
* Perform the summation, and apply the activation function.
* @return {Number} The sum.
*/
calculate(){}
/**
* @return {ActivationFunction} The activation function
*/
getActivationFunction(){}
/**
* @return {Number} The preactivation sum.
*/
getSum(){}
/**
* @return {Array} The input connections.
*/
list(){}
}
module.exports = InputSummation;