jajupmochi
2dfdd4e586
Use the parameter exist_ok=True in the function os.makedirs to check if a dir exists to avoid problems while paralleling.
4 years ago
jajupmochi
06c35201b2
Add option to sort graphs by size when computing GEDs for the sake of the stability.
5 years ago
jajupmochi
7293234d6c
Update and fix bugs in MGE:
1. avoid decreasing all median nodes.
2. in __compute_initial_node_labels(), stop appending elements to median_labels when all node_labels are already selected.
3. return False directly in __update_node_label() when node_labels is empty.
4. solve the bug that median is not modified in place in __delete_node_from_median().
5 years ago
jajupmochi
34e82bfce8
Add parallel functions to MGE.
5 years ago
jajupmochi
9a365fac98
Fix bugs for enum and add test for median preimage generator.
5 years ago
jajupmochi
3bcc60c479
Fix a bug in increasing orders in MGE.
5 years ago
jajupmochi
909cadd753
Add method of updating orders for non-symbolic labeled graphs in MGE.
5 years ago
jajupmochi
61d96d52d1
Fix bugs when computing reduced costs in MGE.
5 years ago
jajupmochi
f8fc1d9336
Fix bugs in some graph kernels. 2. Update MedianGraphEstimator.
5 years ago
jajupmochi
1c635daf9d
Fix bugs in MedianGraphEstimator.__decrease_order().
5 years ago
jajupmochi
5f7a9ed019
Update MedianGraphEstimator: add __decrease_order() method.
5 years ago
jajupmochi
25aa64a7dc
Fix bugs in MedianGraphEstimator, about __node_maps_from_median and updating nodes/edges.
5 years ago
jajupmochi
898bec8063
Add class WLSubtree.
5 years ago
jajupmochi
8385bc4cae
Update MedianPreimageGenerator and MedianGraphEstimator for symbolic-labeled graphs and edit cost "CONSTANT".
5 years ago
jajupmochi
66e18c93e1
1. add function to get median node/edge label in MedianGraphEstimator.
2. update load_tud function.
3. update MedianPreimageGenerator.
5 years ago
jajupmochi
5dae69b878
1. fix bugs.
2. update README.md.
3. update preimage module, class Dataset.
4. update requirements.
5. add helper function to compute Gram matrix for each class.
5 years ago
jajupmochi
7bdd77b777
1. add preimage module.
2. add gedlib module.
3. add ged module.
4. create Kernel class and StructrualSP class.
5. rearrange directory.
5 years ago