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.

median_preimage_generator.py 349 B

123456789101112131415
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. """
  4. Created on Thu Mar 26 18:27:22 2020
  5. @author: ljia
  6. """
  7. from gklearn.preimage.preimage_generator import PreimageGenerator
  8. # from gklearn.utils.dataset import Dataset
  9. class MedianPreimageGenerator(PreimageGenerator):
  10. def __init__(self, mge, dataset):
  11. self.__mge = mge
  12. self.__dataset = dataset

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