问题描述
是否可以绘制带有六边形的SOM贴图(包装Kohonen)作为基本形式而不是圆形?现在不同的情节(计数,更改等)绘制为带有白色周围环境的圆圈.
Is it possible to plot the SOM map (package Kohonen) with hexagonsas elementary forms instead of circles? Now the different plottings(count, changes etc.) are plotted as circles with white surroundings.
目标是创建类似于Matlab SOM Toolbox的SOM视觉效果.
The aim is to create SOM visuals similar to Matlab SOM Toolbox.
此讨论表明2010年不可能进行六边形绘图. >
This discussion suggests hexagon plotting would not have been possible 2010.
推荐答案
我没有足够的声誉来评论@NBremer的答案.我扩展了上面的代码,以允许可视化大型组件平面和u矩阵,以从R"kohonen"库输出.代码和可用示例在此处提供:
I don't have sufficient reputation to comment on @NBremer's answer. I have extended the above code to allow visualization of large component planes and u-matrices for output from the R "kohonen" library. Code and worked examples available here:
这篇关于R包Kohonen-如何在Matlab SOM工具箱中绘制六边形而不是圆形?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!