Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModActivationMutation

Mod activation mutation.

Modifies the activation function of a random node

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly mutateOutput

mutateOutput: boolean

Change activation function of network output neurons. Enable this to let the network experiment with its output.

Methods

mutate

  • mutate(network: Network, options?: { allowedActivations?: ActivationType[] }): void
  • Mutates the network.

    Parameters

    • network: Network

      The network which gets mutated

    • Default value options: { allowedActivations?: ActivationType[] } = {}
      • Optional allowedActivations?: ActivationType[]

        All allowed activations.

    Returns void

Generated using TypeDoc