jajupmochi
42acfd0236
[Fix] Fix laplacian_kernel and cosine_kernel between pairs of numpy vectors.
3 years ago
jajupmochi
dd58f602ec
[Feature] Add kronecker_delta_kernel function between a pair of numpy vectors.
3 years ago
jajupmochi
7d3e929b36
[Feature] Add several new kernels between vectors.
3 years ago
jajupmochi
4fd314d374
[Fix] Fixed the bug that gklearn.utils.kernels.gaussiankernel can not handle lists as inputs.
4 years ago
jajupmochi
1800923c45
[API change] gklearn.utils.kernels.gaussiankernel function no longer transforms inputs to numpy.array of float values. This may be faster, but may cause some errors to the previous codes.
4 years ago
jajupmochi
70a11dfd1b
[Enhancement] gklearn.utils.normalize_gram_matrix function now raises an excepetion if the diagonal includes negative values.\n[Enhancement] gklearn.utils.get_graph_kernel_by_name function now accepts strings of kernel names the same as the keys of gklearn.kernels.GRAPH_KERNELS and supports more graph kernels.
4 years ago
jajupmochi
6326e22abc
Put deprecation warning of gklearn.utils.Dataset inside the __init__().
4 years ago
jajupmochi
920ebda3f9
Hide deprecation warning in graph_file.py.
4 years ago
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