jajupmochi
d529e06052
Update MPG.
4 years ago
jajupmochi
bc5b8b0d25
Refactor: deprecate the usage of "__" for the "private" members and methods, use "_" instead.
4 years ago
jajupmochi
91eb4850f7
Fix typos in printout messages.
5 years ago
jajupmochi
4d47f61d0b
Fix bugs to use unnormalized Gram matrix in MPG.
5 years ago
jajupmochi
ea615e8c68
Add more possibilities when using random costs in MPG.
5 years ago
jajupmochi
b63a60fe46
Add RandomPreimageGenerator introduced inBakir's paper.
5 years ago
jajupmochi
34506302ce
1. Solve uncolsed file warning in graph_file.py. 2. Solve CXVPY * and @ warning in MPG.
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
7e94ecaf31
Add k-nn test.
5 years ago
jajupmochi
85ad732a88
Allow zero costs and no triangle rule when updating edit costs in MPG.
5 years ago
jajupmochi
34e82bfce8
Add parallel functions to MGE.
5 years ago
jajupmochi
61d96d52d1
Fix bugs when computing reduced costs in MGE.
5 years ago
jajupmochi
25aa64a7dc
Fix bugs in MedianGraphEstimator, about __node_maps_from_median and updating nodes/edges.
5 years ago
jajupmochi
b463852b2d
Move method get_graph_kernel_by_name().
5 years ago
jajupmochi
f337fc3fa9
Add class WeisfeilerLehman.
5 years ago
jajupmochi
92c24ffeca
Add class Treelet.
5 years ago
jajupmochi
a32e9656b0
Add class PathUpToH.
5 years ago
jajupmochi
8385bc4cae
Update MedianPreimageGenerator and MedianGraphEstimator for symbolic-labeled graphs and edit cost "CONSTANT".
5 years ago
jajupmochi
45052568eb
1. fix bugs for function of getting numbers of edit operations for non-symbolic labels.
2. fix bugs for load_tud.
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
d60a6e3888
add gklearn.utils.graph_files module, update load_tud function and relevant modules.
5 years ago
jajupmochi
b4747fc16b
fix bug "AttributeError("'Graph' object has no attribute 'node'",)" for new version of NetworkX.
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
8804465536
1. update termination criterion of iteration in class MedianPreimageGenerator.
2. add helper function generate_median_preimage_by_class in gklearn.preimage.utils.
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
jajupmochi
b5dc9aa18f
Revert "clear repo: remove useless files."
This reverts commit a8948a35b2
.
5 years ago
jajupmochi
a8948a35b2
clear repo: remove useless files.
5 years ago
jajupmochi
dcff21cda7
Revert "clear repo: remove preimage."
This reverts commit 5fe81a932b
.
5 years ago
jajupmochi
5fe81a932b
clear repo: remove preimage.
5 years ago
jajupmochi
29903787ed
update preimage.
5 years ago