Browse Source

Add DataFetcher.

v0.2.x
jajupmochi 4 years ago
parent
commit
3bca5f1dc1
2 changed files with 1897 additions and 2 deletions
  1. +1895
    -0
      gklearn/dataset/data_fetcher.py
  2. +2
    -2
      gklearn/tests/test_graph_kernels.py

+ 1895
- 0
gklearn/dataset/data_fetcher.py
File diff suppressed because it is too large
View File


+ 2
- 2
gklearn/tests/test_graph_kernels.py View File

@@ -56,7 +56,7 @@ def test_list_graph_kernels():
"""
"""
from gklearn.kernels import GRAPH_KERNELS, list_of_graph_kernels
assert list_of_graph_kernels() != [i for i in GRAPH_KERNELS]
assert list_of_graph_kernels() == [i for i in GRAPH_KERNELS]


@@ -448,4 +448,4 @@ if __name__ == "__main__":
# test_RandomWalk('Acyclic', 'sylvester', None, 'imap_unordered')
# test_RandomWalk('Acyclic', 'conjugate', None, 'imap_unordered')
# test_RandomWalk('Acyclic', 'fp', None, None)
# test_RandomWalk('Acyclic', 'spectral', 'exp', 'imap_unordered')
# test_RandomWalk('Acyclic', 'spectral', 'exp', 'imap_unordered')

Loading…
Cancel
Save