Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AddNodeMutation

Add node mutation.

Adds a hidden node to the network.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly randomActivation

randomActivation: boolean

If enabled, sets a random activation function on the newly created node

Methods

mutate

  • mutate(network: Network, options?: { maxNodes?: undefined | number }): void
  • Mutates the network.

    Parameters

    • network: Network

      The network which gets mutated

    • Default value options: { maxNodes?: undefined | number } = {}
      • Optional maxNodes?: undefined | number

        Maximum amount of nodes.

    Returns void

Generated using TypeDoc