-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Labels
defectA clear bug or issue that prevents SciPy from being installed or used as expectedA clear bug or issue that prevents SciPy from being installed or used as expectedscipy.cluster
Milestone
Description
The vq.kmeans2
function has initialization methods (that can be selected by the minit
keyword) that do random number generation without allowing for seeding. See e.g. #9037 (review)
It should be possible for the user to pass in a np.random.RandomState
instance or set a seed, rather than having to rely on setting the global state. Can be done in a similar way as the random_state
keyword in the stats distributions.
Metadata
Metadata
Assignees
Labels
defectA clear bug or issue that prevents SciPy from being installed or used as expectedA clear bug or issue that prevents SciPy from being installed or used as expectedscipy.cluster