Skip to content

BUG: Propagate random_state to cluster_algo in TypiClust and ProbCover #503

Closed

Description

@mherde

Describe the issue:

Currently, the random_state set as __init__ parameter of the query strategies TypiClust and ProbCover is not explicitly propagated to the cluster_algo but the user must set its random_state via cluster_algo_dict.

Reproduce the bug via a code example:

- `TypiClust(random_state=0)` is not deterministic but only `TypiClust(random_state=0, cluster_algo_dict={"random_state": 0})`
- `ProbCover(random_state=0)` is not deterministic but only `ProbCover(random_state=0, cluster_algo_dict={"random_state": 0})`

Error message:

Context for the issue:

No response

Activity

  1. added a commit that references this issue on May 14, 2025
    e985e51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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