-
Notifications
You must be signed in to change notification settings - Fork 65
Home
Thomas Bonald edited this page Apr 12, 2020
·
35 revisions
Scikit-Network is an open-source python package created at LINCS.
You are very welcome to participate and add your own graph algorithms.
We just ask you to follow some guidelines:
A toy package by François Durand
- Object oriented programming with Scikit-learn style: an algorithm is a class with a fit method.
- PEP8 coding style (it is recommended to use Pycharm Community as an IDE)
- Explicit inputs / outputs: adjacency, biadjacency, labels, scores, etc.
- NumPy docstring
labels: np.ndarray(dtype=int)
vector of labels
Function or class description should begin with a imperative form or a noun.
Cluster nodes of the graph.
- Reference style: APA
Blondel, V. D., Guillaume, J. L., Lambiotte, R., & Lefebvre, E. (2008). Fast unfolding of communities in large networks. Journal of statistical mechanics: theory and experiment.