collinleiber / ClustPy

A Python library for advanced clustering algorithms
https://clustpy.readthedocs.io/en/
BSD 3-Clause "New" or "Revised" License
99 stars 12 forks source link

added an int option for setting the seed of pytorch and numpy #88

Closed zoidberg77 closed 6 months ago

collinleiber commented 8 months ago

I think it would be better to use the 'check_random_state' method (from sklearn.utils) for this. We could move check_random_state from the constructor of the deep clustering methods to the set_torch_seed method. That would be way cleaner