-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update spatial domain modules to inherit from
BaseClusteringMethod
(
#170) * update SpaGCN to inherit BaseClusteringMethod * use fit_predict * use dance seeding * use logger * move calculate_p and search_l to spagcn since it is specific to spagcn * update Louvain to inherit from BaseClusteringMethod * use logger * update stlearn to inherit from BaseClusteringMethod * add fit_kwargs to fit_score * adapt Stagate to BaseClusteringMethod class * minor format fixes * use absolute imports, sort imports
- Loading branch information
Showing
12 changed files
with
182 additions
and
252 deletions.
There are no files selected for viewing
This file contains 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 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,11 +1,11 @@ | ||
from .louvain import Louvain | ||
from .spagcn import SpaGCN | ||
from .stagate import Stagate | ||
from .stlearn import StLouvain | ||
from dance.modules.spatial.spatial_domain.louvain import Louvain | ||
from dance.modules.spatial.spatial_domain.spagcn import SpaGCN | ||
from dance.modules.spatial.spatial_domain.stagate import Stagate | ||
from dance.modules.spatial.spatial_domain.stlearn import StLouvain | ||
|
||
__all__ = [ | ||
"Louvain", | ||
"SpaGCN", | ||
"Stagate", | ||
"StLouvain", | ||
"Stagate", | ||
] |
This file contains 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
Oops, something went wrong.