new Perceptron()
The Perceptron is a type of neuron that
sums the product of input values and
their respective weights. If that sum,
plus the Perceptron's "bias", is
greater than 0, it outputs 1.
Else, it outputs 0.
- Implements:
- Source:
Methods
_process(input)
Given an array of input bits,
return 0 if
the product of input bits and weights
plus the neuron's bias
if greater than 0.
otherwise, returns 1.
Parameters:
Name | Type | Description |
---|---|---|
input |
array | An array of input bits. |
- Source: