Skip to content

One-exchange neighborhood may raise ValueError non-deterministically #194

@filipbartek

Description

@filipbartek

Description

ConfigSpace.util.get_one_exchange_neighbourhood uses np.random to decide whether a new configuration is to be validated (see util.pyx:218). Using np.random for this decision makes the behavior of the function non-deterministic.

Solution proposal

Use the randomness generator random instantiated at util.pyx:130 instead of np.random.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions