-
-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to generate graphs based on correlations of sequences #25933
Comments
comment:1
Added branch name |
Branch: correlation-graph |
Commit: |
comment:4
I've made a very bare-bones start on this but please tear it apart. One note about my plot() implementation - the graph.plot function invokes the constructor at In the plot method I've put in a hack that works around it,
but I think this is a symptom of a larger issue. Making assumptions about the arguments of the class constructor of a passed object feels like poor design, and we should be able to inherit the plot method with any class, without restrictions on the shape of said class' constructor. If anyone can find a better workaround please let me know, this is the tidiest one I've found. New commits:
|
Changed branch from correlation-graph to u/gh-Bruno-TT/correlation-graph |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
Several comments:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
Better this way. Note that the current doctest is not working since parameter Coding style:
and of course add the documentation. |
PR here: #35009 I've changed the above as per your suggestions David, and added some documentation |
Removed branch from issue description; replaced by PR #35009 |
Given a list of labeled real-valued vectors and a significance level
alpha
, generate a graph with vertices corresponding to the list's labels where two vertices are connected by an edge if the corresponding vectors have a correlation coefficient that is positive or negative at the specified significance level. An object creating the graph should support theplot
method, which will plot the generated graph using a circular layout.CC: @dcoudert
Component: graph theory
Keywords: sagedays@icerm
Author: Robert Kingan
Issue created by migration from https://trac.sagemath.org/ticket/25933
The text was updated successfully, but these errors were encountered: