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
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,15 +46,15 @@ First make sure the `semb` library is installed.
46
46
47
47
- Create a Python 3.7+ [package](https://packaging.python.org/tutorials/packaging-projects/) with a name in form of `semb-dataset[$YOUR_CHOSEN_DATASET_ID]`
48
48
- Within the package root directory, make sure `__init__.py` is present
49
-
- Create a `dataset.py` and make a `Method` class that inherits from `from semb.data import BaseDataset` and implement the required methods. See `semb/datasets/airports/dataset.py` for more details.
49
+
- Create a `dataset.py` and make a `Method` class that inherits from `from semb.datasets import BaseDataset` and implement the required methods. See `semb/datasets/airports/dataset.py` for more details.
50
50
- Install the package via `setup.py` or pip.
51
51
- Now the dataset is loadable by the main client program that uses `semb`!
52
52
53
53
### Developing 3rd party Method extension
54
54
55
55
- Create a Python 3.7+ [package](https://packaging.python.org/tutorials/packaging-projects/) with a name in form of `semb-method[$YOUR_CHOSEN_METHOD_ID]`
56
56
- Within the package root directory, make sure `__init__.py` is present
57
-
- Create a `dataset.py` and make a `Dataset` class that inherits from `from semb.data import BaseDataset` and implement the required methods. See `semb/methods/node2vec/method.py` for more details.
57
+
- Create a `dataset.py` and make a `Dataset` class that inherits from `from semb.methods import BaseMethod` and implement the required methods. See `semb/methods/node2vec/method.py` for more details.
58
58
- Install the package via `setup.py` or pip.
59
59
- Now the method is load-able by the main client program that uses `semb`!
0 commit comments