Skip to content

"reach" stop criteria with negative valued fitness function #296

Open
@Tropingenie

Description

@Tropingenie

I am getting a ValueError: The value following the stop word in the 'stop_criteria' parameter must be a number but the value (-0.5) of type <class 'str'> found when trying to input a stop criteria with negative valued fitness function stop_criteria=["saturate_10", "reach_-0.5"],. I am unable to find any documentation on how the criteria "groups" numbers, and would rather not have to trawl through the code myself to find out.

If this feature is supported it would be appreciated if someone could explain how, otherwise, potentially a future feature. Until then I can always use the multiplicative inverse instead, but it reduces the readability of my outputs ("0.5" is an exact dollar error in my code, "2" is the inverse and less useful on its own).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions