在用于自组织映射的 R 的 Kohonen 包中,som 对象的“codes”值代表什么?

In the R's Kohonen package for self organizing maps, what does the `codes` value of the som object represent?

我正在使用 kohonen 包在 R 中生成自组织映射。但是,在查看文档时,我无法清楚地理解 som 对象的 codes 属性 代表什么。

文档仅说明:

codes: a matrix of code vectors.

在此上下文中什么是代码向量矩阵?

如果它像其他 SOM 包一样工作,我相信你提到的代码值指的是 codebook vectors。这是一个很好的资源,解释了它们是如何工作的:

The codebook vectors themselves represent prototypes (points) within the domain, whereas the topological structure imposes an ordering between the vectors during the training process.

来自http://www.cleveralgorithms.com/nature-inspired/neural/som.html

我建议阅读 kohnen 包随附的原始文件,您可以在此处找到:https://www.jstatsoft.org/article/view/v021i05/v21i05.pdf

它提供了比 R-docs 更多的细节。