Skip to content

NewPopulationRandom does not assign random configured activatiors #56

Description

@steampoweredtaco

Hi! Thanks for the awesome library. I'm not sure if this is incorrect behavior, but it was unexpected to me. I'm using v3.

When creating a population with NewRandomPopulation it initializes all activators in the initial genome (inputs, hidden, output) with SigmoidSteepenedActivation. I was expecting it to select from the random activations and weights used in the configuration passed in with the opts parameter.

In my use case this activation type doesn't work well on the output node when the network still lacks many hidden nodes. I'd like it to choose from a random as configured or minimally be able to select the default activation node to use for the first random genome.

Maybe a workaround is to tweak them myself after the initial population is created.

Not sure if this is an issue or a feature request. Thanks for your time!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions