We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
我认为 Weka 可以做到这一点。您可能必须首先将输入文件转换为不同的格式。 Weka 也有一个 API,尽管它是用 Java 编写的,而不是 Python 编写的。
I think Weka can do this. You might have to massage the input file to a different format first. Weka also has an API, though it's in Java, not Python.
您可以使用很多工具来执行此操作。
还有其他提及,但您可以在 Tkinter、PyGTK+、PyQT、matplotlib 或任何图形库中相当轻松地执行类似的操作。
然而, matplotlib 中的极坐标图将相当简单:(
未经测试):
这应该给你一个基本的可视化。您还可以将其更改
为不同的可视化风格。
matplotlib 文档非常好,并且有很多示例。
There are lots of tools you can use to do this.
There have been other mentions, but you could fairly easily do something like this in Tkinter, PyGTK+, PyQT, matplotlib, or really any graphical lib.
However, a polar plot in matplotlib would be fairly simple:
(untested):
That should give you a rudimentary visualization. You could also change it around to
For a different style of visualization.
The matplotlib docs are very good and they have plenty of examples.
也许 Networkx 可能会有所帮助。这个例子可能是一个很好的起点:
http://networkx.lanl.gov/examples /drawing/knuth_miles.html
Maybe Networkx may help. This example could be a good starting point:
http://networkx.lanl.gov/examples/drawing/knuth_miles.html
我不确定这种类型的图表的术语是什么(最小权重生成树?),但请查看 Graphviz 。还有一些 Python 绑定,但如果失败,您可以简单地生成一个输入文件,或直接输入数据。
I'm not sure what the term for that type of graph would be (minimum weight spanning tree?), but check out Graphviz. There are some Python bindings for it as well, but failing that you could simply generate an input file for it, or pipe data directly in.
我认为你必须使用 MDS
http://en.wikipedia.org/wiki/MultiDimension_scaling
I think you have to use MDS
http://en.wikipedia.org/wiki/Multidimensional_scaling