ysig / GraKeL

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

Can we obtain vector representation of the graphs? #79

Closed Kangfei closed 1 year ago

Kangfei commented 2 years ago

I want to obtain the vector representation of the graphs for down-stream clustering. But I cannot find the supported APIs for that.

ysig commented 2 years ago

Well normally for a certain family of graph kernels you should. We never formalized this in the framework, but it would be great if someone would in the future.

Normally you should find it in self.X after fitting.