Constructors
constructor
- new NeuralNet(neuralNet: NeuralNet): NeuralNet
- new NeuralNet(inputs: number, outputs: number, hiddenLayers: number, layerNeurons: number): NeuralNet
-
Parameters
-
Parameters
-
inputs: number
-
outputs: number
-
hiddenLayers: number
-
layerNeurons: number
Methods
feedforward
- feedforward(input: number[]): number[]
-
Parameters
Returns number[]
weights
- weights(): number[]
- weights(weights: number[]): any
-
Returns number[]
-
Parameters
Returns any