jajupmochi
8cc96ec747
Update Dataset.
4 years ago
jajupmochi
bc5b8b0d25
Refactor: deprecate the usage of "__" for the "private" members and methods, use "_" instead.
4 years ago
jajupmochi
95d327f3d8
Add entropy experiments.
4 years ago
jajupmochi
92705d8ba1
Update dataset processors.
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
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
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
78999e859c
Fix bugs.
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
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
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