You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 843 B

5 years ago
5 years ago
5 years ago
1234567891011121314151617181920212223242526
  1. # -*-coding:utf-8 -*-
  2. """gklearn - utils module
  3. Implement some methods to manage graphs
  4. graphfiles.py : load .gxl and .ct files
  5. utils.py : compute some properties on networkX graphs
  6. """
  7. # info
  8. __version__ = "0.1"
  9. __author__ = "Benoit Gaüzère"
  10. __date__ = "November 2017"
  11. # from utils import graphfiles
  12. # from utils import utils
  13. from gklearn.utils.dataset import Dataset, split_dataset_by_target
  14. from gklearn.utils.graph_files import load_dataset, save_dataset
  15. from gklearn.utils.timer import Timer
  16. from gklearn.utils.utils import get_graph_kernel_by_name
  17. from gklearn.utils.utils import compute_gram_matrices_by_class
  18. from gklearn.utils.utils import SpecialLabel
  19. from gklearn.utils.utils import normalize_gram_matrix, compute_distance_matrix
  20. from gklearn.utils.trie import Trie
  21. from gklearn.utils.knn import knn_cv, knn_classification

A Python package for graph kernels, graph edit distances and graph pre-image problem.