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 976 B

123456789101112131415161718192021222324252627
  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, dummy_node, undefined_node, dummy_edge
  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
  22. from gklearn.utils.model_selection_precomputed import model_selection_for_precomputed_kernel

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