Closed yanzastro closed 2 years ago
thanks! is it possible to set it from python?
generate the initialcodebook by your seed and pass to the constructor?
sounds like a great idea! So I just run something like:
codebook_ini = init(data, seed) # init() is a pre-defined function to initialize the codebook
som.codebook = codebook_ini
som.train(...)
is it correct?
---edit---
Oh I see there is a initialcodebook
parameter. never mind!
Can we set the random seeds to initialize the SOM?