Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Mutation

Genetic algorithm mutation methods. Creates variations (mutations) in neural networks which are then selected for better performance.

see

Mutation (genetic algorithms) on Wikipedia

see

Selection (genetic algorithms) on Wikipedia

Hierarchy

Index

Methods

Methods

Abstract mutate

  • mutate(network: Network, options?: undefined | { allowedActivations?: ActivationType[]; maxConnections?: undefined | number; maxGates?: undefined | number; maxNodes?: undefined | number }): void
  • Mutates a given network.

    Parameters

    • network: Network

      the network to mutate

    • Optional options: undefined | { allowedActivations?: ActivationType[]; maxConnections?: undefined | number; maxGates?: undefined | number; maxNodes?: undefined | number }

      you can set the max amount of nodes, connections and gates

    Returns void

Generated using TypeDoc