-
Notifications
You must be signed in to change notification settings - Fork 27
Add temporal spectral community detection #94
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,7 @@ | |
| # -- Project information ----------------------------------------------------- | ||
|
|
||
| project = 'teneto' | ||
| copyright = '2018-2021, William Hedley Thompson' | ||
| copyright = '2018-2025, William Hedley Thompson' | ||
| author = 'William Hedley Thompson' | ||
|
|
||
| version = "../teneto/_version.py" | ||
|
|
@@ -45,7 +45,6 @@ | |
| # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | ||
| # ones. | ||
| extensions = [ | ||
| 'matplotlib.sphinxext.only_directives', | ||
| 'matplotlib.sphinxext.plot_directive', | ||
| 'sphinx.ext.autodoc', | ||
| 'sphinx.ext.autosummary', | ||
|
|
@@ -56,7 +55,7 @@ | |
| 'sphinx.ext.viewcode', | ||
| 'sphinx.ext.githubpages', | ||
| 'sphinx.ext.napoleon', | ||
| 'm2r', | ||
| 'myst_parser', | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Whats the purpose of adding this in the documents?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| 'sphinx_automodapi.automodapi', | ||
| 'sphinx.ext.autosectionlabel', | ||
| 'nbsphinx', | ||
|
|
@@ -79,7 +78,7 @@ | |
| # | ||
| # This is also used if you do content translation via gettext catalogs. | ||
| # Usually you set "language" from the command line for these cases. | ||
| language = None | ||
| language = 'en' | ||
|
|
||
| # List of patterns, relative to source directory, that match files and | ||
| # directories to ignore when looking for source files. | ||
|
|
@@ -200,5 +199,3 @@ | |
| numpydoc_show_class_members = False | ||
| # MOCK MODULESS | ||
| autodoc_mock_imports = ['tables', 'scikit-learn', 'joblib', 'nilearn', 'NiftiLabelsMasker'] | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,3 +9,4 @@ statsmodels>=0.8.0 | |
| networkx>=2.0 | ||
| python-louvain>=0.13 | ||
| tables>=3.4.4 | ||
| scikit-learn>=1.0 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,12 @@ | ||
| """Import of community detection""" | ||
| """Community detection convenience imports.""" | ||
| from teneto.communitydetection.louvain import * | ||
| from teneto.communitydetection.tctc import tctc | ||
| #from teneto.communitydetection.louvain import find_tctc | ||
| __all__ = ['tctc', 'temporal_louvain', | ||
| 'make_consensus_matrix', 'make_temporal_consensus', ] | ||
| from teneto.communitydetection.spectral import temporal_spectral | ||
|
|
||
| __all__ = [ | ||
| "tctc", | ||
| "temporal_louvain", | ||
| "make_consensus_matrix", | ||
| "make_temporal_consensus", | ||
| "temporal_spectral", | ||
| ] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why this being removed? Was it redundant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I believe it is redundant, and indeed removed as of
Matplotlib 3.0. I had to drop the extension to build the docs.