Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • NeuralNet

Index

Constructors

Properties

Methods

Constructors

constructor

  • new NeuralNet(neuralNet: NeuralNet): NeuralNet
  • new NeuralNet(inputs: number, outputs: number, hiddenLayers: number, layerNeurons: number): NeuralNet
  • Parameters

    Returns NeuralNet

  • Parameters

    • inputs: number
    • outputs: number
    • hiddenLayers: number
    • layerNeurons: number

    Returns NeuralNet

Properties

neurons

neurons: Neuron[][]

Methods

copy

feedforward

  • feedforward(input: number[]): number[]
  • Parameters

    • input: number[]

    Returns number[]

indexes

  • indexes(): number[]
  • Returns number[]

weights

  • weights(): number[]
  • weights(weights: number[]): any
  • Returns number[]

  • Parameters

    • weights: number[]

    Returns any