Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/albert-espin/snn-clustering
/ functions
Functions
7 in github.com/albert-espin/snn-clustering
⨍
Functions
7
◇
Types & classes
1
↓ 3 callers
Method
fit
Perform SNN clustering from features or distance matrix. Parameters ---------- X : array or sparse (CSR) matrix of shape (n_s
SNN/snn.py:66
↓ 1 callers
Function
get_snn_distance
Calculate the shared-neighbor distance of two sets of nearest neighbors, normalized by the maximum number of shared neighbors
SNN/snn.py:39
↓ 1 callers
Function
get_snn_similarity
Calculate the shared-neighbor similarity of two sets of nearest neighbors, normalized by the maximum number of shared neighbors
SNN/snn.py:33
↓ 1 callers
Function
main
Main function
SNN/main.py:13
↓ 1 callers
Function
snn
Perform Shared Nearest Neighbor (SNN) clustering algorithm clustering. Parameters ---------- X : array or sparse (CSR) matrix of shape (n
SNN/snn.py:7
Method
__init__
Constructor
SNN/snn.py:59
Method
fit_predict
Performs clustering on X and returns cluster labels. Parameters ---------- X : array or sparse (CSR) matrix of shape (n_sampl
SNN/snn.py:86