src/network.js
/**
     * Computes a full forward pass of the network
     * @param {Array.<number>} input Input vector, as a number array
     * @returns {Array.<number>} Final activations at the output layer
     */
Computes a full forward pass of the network
@param {Array.} input Input vector, as a number array
@returns {Array.} Final activations at the output layer
Computes a full forward pass of the network @param { Array . } input Input vector as a number array @returns { Array . } Final activations at the output layer
forwardPass(input) {
        let hiddenOutput = this.hiddenLayers.reduce(
            this.activateNeurons,
            input
        );
        let finalOutput = this.activateNeurons(hiddenOutput, this.outputLayer);
        return finalOutput;
    }
forwardPass ( input ) { let hiddenOutput = this . hiddenLayers . reduce ( this . activateNeurons , input ) ; let finalOutput = this . activateNeurons ( hiddenOutput , this . outputLayer ) ; return finalOutput ; }
Computes a full forward pass of the network
 @param {Array.<number>} input Input vector, as a number array
 @returns {Array.<number>} Final activations at the output layer
Computes a full forward pass of the network @param { Array . <number > } input Input vector as a number array @returns { Array . <number > } Final activations at the output layer