c2.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Chromosome
Crossover
Mutation
Neural
Net
Neuron
constructor
weights
activate
copy
sigmoid
Population
Hierarchy
Neuron
Index
Constructors
constructor
Properties
weights
Methods
activate
copy
sigmoid
Constructors
constructor
new
Neuron
(
neuron
:
Neuron
)
:
Neuron
new
Neuron
(
inputs
:
number
)
:
Neuron
Parameters
neuron:
Neuron
Returns
Neuron
Parameters
inputs:
number
Returns
Neuron
Properties
weights
weights
:
number
[]
Methods
activate
activate
(
input
:
number
[]
)
:
number
Parameters
input:
number
[]
Returns
number
copy
copy
(
)
:
Neuron
Returns
Neuron
sigmoid
sigmoid
(
z
:
number
)
:
number
Parameters
z:
number
Returns
number