ysig / GraKeL

A scikit-learn compatible library for graph kernels
https://ysig.github.io/GraKeL/
Other
588 stars 96 forks source link

Example optimizing_hyperparameters unable to run #52

Closed moan0s closed 3 years ago

moan0s commented 3 years ago

The example examples/optimizing_hyperparameters.py doesn't work as

The line gk = WeisfeilerLehman(n_iter=i, base_kernel=VertexHistogram, normalize=True) throws an error as base_kernel should be base_graph_kernel (see https://ysig.github.io/GraKeL/0.1a8/generated/grakel.WeisfeilerLehman.html#grakel.WeisfeilerLehman).

moan0s commented 3 years ago

See https://github.com/ysig/GraKeL/pull/53