jajupmochi
37158bfffd
Update tqdm in parallel.
4 years ago
jajupmochi
cb964cf9f7
Set tqdm usages in all graph kernels with self-defined intervals so that it will print less lines when writing to a file.
4 years ago
jajupmochi
cdcccb2e32
Update get_graph_kernel_by_name().
4 years ago
jajupmochi
508cc2c37d
Add DataLoader and DataSaver.
4 years ago
jajupmochi
8cc96ec747
Update Dataset.
4 years ago
jajupmochi
12dd1cacb7
Update GraphSynthesizer.
4 years ago
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
bc5b8b0d25
Refactor: deprecate the usage of "__" for the "private" members and methods, use "_" instead.
4 years ago
jajupmochi
320964dd16
Update comments, minor bugs for graph kernels.
4 years ago
jajupmochi
e6b92b752b
Add the function compute_vertex_kernels.
4 years ago
jajupmochi
64e76fe1a0
Add math module.
4 years ago
jajupmochi
95d327f3d8
Add entropy experiments.
4 years ago
jajupmochi
c898c62eb8
Add the chunksize argument to the function version of graph kernels.
4 years ago
jajupmochi
7f66196251
Update model selection function.
4 years ago
jajupmochi
92705d8ba1
Update dataset processors.
4 years ago
jajupmochi
97257a5ef9
Update namespace.
4 years ago
jajupmochi
293ed9efae
Fix bugs and add xps.
4 years ago
jajupmochi
87e9da8b65
Fix bugs.
4 years ago
jajupmochi
21b99f4730
Update graph synthesizer.
4 years ago
jajupmochi
d8e206c33c
Add graph synthesizer.
4 years ago
jajupmochi
5dcbe76350
Add SylvesterEquation class.
4 years ago
jajupmochi
6eb6a4a3ad
Add CommonWalk class.
4 years ago
jajupmochi
31a8a9c51d
Add ability to GEDEnv to use pre-defined costs between edge labels.
5 years ago
jajupmochi
938c3d5ca4
Add ability to GEDEnv to use pre-defined costs between node labels.
5 years ago
jajupmochi
5eb69de7ea
Add ged module.
5 years ago
jajupmochi
e66846f2a8
Implement Marginalized kernel class.
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
9a365fac98
Fix bugs for enum and add test for median preimage generator.
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
898bec8063
Add class WLSubtree.
5 years ago
jajupmochi
78999e859c
Fix bugs.
5 years ago
jajupmochi
92c24ffeca
Add class Treelet.
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
5e08e9841e
Update function gklearn.utils.graph_file.load_ct() for CTFile V2000.
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
jajupmochi
d60a6e3888
add gklearn.utils.graph_files module, update load_tud function and relevant modules.
5 years ago
jajupmochi
9fc8fbfeb9
add trim_dataset() method to class Dataset.
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