@Test public void testGetActivationFunction(){ assertEquals("Activation function is not as expected.", ACTIVATION_FUNCTION, neuron.getActivationFunction()); }
public ActivationFunction getActivationFunction() { return function; }
Neuron implements Serializable { public ActivationFunction getActivationFunction() { return function; } }
Neuron implements Serializable { public ActivationFunction getActivationFunction() { return function; } Neuron(final ActivationFunction function, int inputDim, double biasValue);  Neuron(final ActivationFunction function, int inputDim, double biasValue, final Random random);  Neuron(final ActivationFunction function, int inputDim, double biasValue, final Collection<Neuron> nextNeurons); }
Neuron implements Serializable { public ActivationFunction getActivationFunction() { return function; } Neuron(final ActivationFunction function, int inputDim, double biasValue);  Neuron(final ActivationFunction function, int inputDim, double biasValue, final Random random);  Neuron(final ActivationFunction function, int inputDim, double biasValue, final Collection<Neuron> nextNeurons); ActivationFunction getActivationFunction(); double[] getWeights(); double getError(); void setError(double error); double[] getDeltas(); double processInput(final double[] inputs); double getOutput(); double getNeuronInput(); double getBiasInput(); boolean addNeuron(Neuron neuron); boolean addAllNeurons(Collection<Neuron> neurons); boolean removeNeuron(Neuron neuron); void reset(); }
Neuron implements Serializable { public ActivationFunction getActivationFunction() { return function; } Neuron(final ActivationFunction function, int inputDim, double biasValue);  Neuron(final ActivationFunction function, int inputDim, double biasValue, final Random random);  Neuron(final ActivationFunction function, int inputDim, double biasValue, final Collection<Neuron> nextNeurons); ActivationFunction getActivationFunction(); double[] getWeights(); double getError(); void setError(double error); double[] getDeltas(); double processInput(final double[] inputs); double getOutput(); double getNeuronInput(); double getBiasInput(); boolean addNeuron(Neuron neuron); boolean addAllNeurons(Collection<Neuron> neurons); boolean removeNeuron(Neuron neuron); void reset();  }