Skip to content

Clustering.Trainers.KMeans does not comply to MLContext seed #7429

Closed as duplicate

Description

@superichmann

same data, same mlcontext seed, run KMeans twice and get different results. why?
please do not ask me for a reproducer as this is an easy task to reproduce, just try yourself and see it.

Activity

  1. superichmann commented on Mar 27, 2025

    @superichmann
    Author

    feels like 2022 #6375

  2. superichmann commented on Mar 27, 2025

    @superichmann
    Author

    A further check indicates that also on KMeansPlusPlus initializer some clusters are not the same

  3. superichmann commented on Mar 27, 2025

    @superichmann
    Author

    fixed for plusplus thingy with NumberOfThreads = 1

  4. locked and limited conversation to collaborators on May 1, 2025
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