You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library requires *Python 3.7* for best usage. In *Python 3.8*, the Tensorflow 1.14.0 used in DRNE might not be successfully installed.
25
26
26
27
## Installation and Usage
27
28
@@ -88,22 +89,13 @@ Currently, SEMB only supports embedding and evaluation on *undirected* and *unwe
88
89
- Within the package root directory, make sure `__init__.py` is present
89
90
- Create a ` method.py` and make a `Method` class that inherits from `from semb.methods import BaseMethod` and implement the required methods. See `semb/methods/node2vec/method.py` for more details.
90
91
- Please make sure that your implemented method accepts `networkx.classes.graph.Graph` as input.
91
-
- Please make sure that when `train()` is called, the `self.embeddings` should be a Python built-in `dict()` with key as `<Node_id (int)>` and value(embedding) as `<List(float)>`.
92
+
- Please make sure that when `train()` is called, the `self.embeddings` should be a Python built-in `dict()` with key as `<Node_id (int)>` and value(embedding) as `<List(float)>`.
92
93
- Install the package via `setup.py` or pip.
93
94
- Now the method is load-able by the main client program that uses `semb`!
94
95
95
96
### Note
96
97
For both `dataset` and `method` extensions, make sure the `get_id()` to be overridden and returns the same id as your chosen id in your package name.
97
98
98
-
99
-
100
-
### Malicious
99
+
### Contact
101
100
102
101
If you encounter any question using our SEMB library, feel free to raise an issue or send an email to [kinmark@umich.edu](kinmark@umich.edu). Go Blue!
0 commit comments