ysig / GraKeL

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

Kernel for rdf graphs #33

Closed sbhttchryy closed 3 years ago

sbhttchryy commented 4 years ago

Hello, I have a Networkx multigraph that I have created using the AIFB dataset. I want to use the kernels to perform classification tasks on nodes. Since these graphs have edge labels, do you have any suggestions as to what kernel might be good for this case?

giannisnik commented 4 years ago

Dear @sbhttchryy ,

All the kernels contained in GraKeL are kernels between graphs, i.e., each sample is a graph and not a node.

If in your problem, classes capture structural similarity (and not homophily), then you can follow this approach: