sevamoo / SOMPY

A Python Library for Self Organizing Map (SOM)
Apache License 2.0
532 stars 241 forks source link

Get the Codebooks #134

Open sevamoo opened 1 year ago

sevamoo commented 1 year ago
    Hello  Vahid Moosavi,

Thank you for inventing this great sompy package. It was very useful to me. I have been using it for my article publication and it will be referenced duly.

However I have one problem understanding the component planes. My input variables are many, hence deciphering the patterns to associations just from the component planes is very cumbersome. I need help on the sompy command which I can use to get the results from the component planes so I can do statistical inferences on it.

I want to know if there is a way out to get this problem resolved. I will be glad if my requisition is given the due clarification.

Counting on your cooperation. Thank you

Best Regards, John Owusu

Originally posted by @nanakayhacker in https://github.com/sevamoo/SOMPY/issues/128#issuecomment-1366372339

sevamoo commented 1 year ago

Hi, I moved this here, as the topic was irrelevant to the other issue.

At any stage of a SOM object (either before, during or after training) you can get the node weight vectors which are usually called "codebook". codebook = som.codebook.matrix Hope this helps @nanakayhacker Best Vahid

nanakayhacker commented 1 year ago

Thank you Mr Vahid for your response. It came at the right time. I will oblige to your directive so to solve this issue as soon as possible.

I will write back to you on the state of this solution pertinent to my problem.

Happy new year!

Best Regards,

John

On Thu, Dec 29, 2022, 2:01 PM Vahid Moosavi @.***> wrote:

Hi, I moved this here, as the topic was irrelevant to the other issue.

At any stage of a SOM object (either before, during or after training) you can get the node weight vectors which are usually called "codebook". codebook = som.codebook.matrix Hope this helps. Best Vahid

— Reply to this email directly, view it on GitHub https://github.com/sevamoo/SOMPY/issues/134#issuecomment-1367342870, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4PFCNWVZ3X2WZWLTNZFOLWPWKSFANCNFSM6AAAAAATMDX5OU . You are receiving this because you were mentioned.Message ID: @.***>