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
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
1fd5ffcd0a
Add MedianGraphEstimator for cost matrices learning.
5 years ago
jajupmochi
d64cf4d0ac
Update optimizing part in MedianPreimageGeneratorCML.
5 years ago
jajupmochi
0db57fe3ce
Fix bugs in ged.util.util.get_nb_edit_operations_symbolic_cml() and add test for it.
5 years ago
jajupmochi
31a8a9c51d
Add ability to GEDEnv to use pre-defined costs between edge labels.
5 years ago
jajupmochi
731ab1d45b
Add ability to GEDEnv to use pre-defined costs between node labels.
5 years ago
jajupmochi
d97bfe954c
Add class MedianGraphEstimatorPy and MedianPreimageGeneratorPy which use GEDEnv implemented in pure Python.
5 years ago
jajupmochi
ad6b45b4b0
Add MedianPreimageGeneratorCML.
5 years ago
jajupmochi
5eb69de7ea
Add ged module.
5 years ago
jajupmochi
95dceaa1ca
Add simple preimage experiments.
5 years ago
jajupmochi
91eb4850f7
Fix typos in printout messages.
5 years ago
jajupmochi
fcff223150
Fix bugs to use unnormalized Gram matrix in RPG.
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
e872ffe3b5
Update random preimage experiment.
5 years ago
jajupmochi
924f028c0c
Update the RPG experiment.
5 years ago
jajupmochi
b4f4f384de
Add time and iteration limits for RPG.
5 years ago
jajupmochi
87e06e9812
expand the number of modifications to increase the possiblity in PRG.
5 years ago
jajupmochi
5c3651e12c
Fix bug: random number genration in RPG when paralelling.
5 years ago
jajupmochi
980dd1c9cf
Add parallel to RPG.
5 years ago
jajupmochi
50da423a1c
Add experiment of random preimage.
5 years ago
jajupmochi
b63a60fe46
Add RandomPreimageGenerator introduced inBakir's paper.
5 years ago
jajupmochi
7e3da6b0bc
Add xp script: remove the best graph from median set.
5 years ago
jajupmochi
9adaebb680
Add xp: remove the best graph from median set.
5 years ago
jajupmochi
06c35201b2
Add option to sort graphs by size when computing GEDs for the sake of the stability.
5 years ago
jajupmochi
cac0cfa114
Add tools to analyze preimage results.
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
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
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
78999e859c
Fix bugs.
5 years ago
jajupmochi
f337fc3fa9
Add class WeisfeilerLehman.
5 years ago
jajupmochi
92c24ffeca
Add class Treelet.
5 years ago
jajupmochi
2248a1308e
Update tests.
5 years ago
jajupmochi
75e42f1838
rearrange gklearn/preimage directory.
5 years ago
jajupmochi
a32e9656b0
Add class PathUpToH.
5 years ago
jajupmochi
c1eff86d49
Update graph_files.py.
5 years ago
jajupmochi
56bc9a8131
Simplify function gklearn.utils.graph_file.load_from_ds().
5 years ago
jajupmochi
9f0090179d
Update function gklearn.utils.graph_file.load_gxl()
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