R包Kohonen-如何在Matlab SOM工具箱中绘制六边形而不是圆形? [英] R package Kohonen - how to plot hexagons instead of circles as in Matlab SOM toolbox?

查看:223
本文介绍了R包Kohonen-如何在Matlab SOM工具箱中绘制六边形而不是圆形?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以绘制带有六边形的SOM贴图(包装Kohonen) 作为基本形式而不是圆形?现在不同的情节 (计数,更改等)绘制为带有白色周围环境的圆圈.

Is it possible to plot the SOM map (package Kohonen) with hexagons as 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 SOM可视化功能

这篇关于R包Kohonen-如何在Matlab SOM工具箱中绘制六边形而不是圆形?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆