Info

This question is closed. Reopen it to edit or answer.

How can I initilize the SOM weights by my own vector?

1 view (last 30 days)
Hossein
Hossein on 8 Feb 2011
Closed: MATLAB Answer Bot on 20 Aug 2021
Dear all
I am doing a SOM project in which I should initilize the SOM weights not in random way but by my own vector. I tried to do this by following code:
net1 = newsom(inputVector2,[10 10],'hextop');
net1=init(net1);
net1.iw{1,1}=initweights';
net1 = train(net1,inputVector2);
But seems still SOM is initilized by random values. How can I initilize the weights by my own vector?

Answers (1)

Meg Noah
Meg Noah on 10 Jan 2020
The initial weights for a self-organizing map (SOM) are small standardized random values.

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!