Closed davide1995 closed 5 years ago
You are right. Documentation is outdated at that point.
n_samples
is a field of a dictionary that goes under sampling
.
You can always checkout the given kernel [reference].(https://ysig.github.io/GraKeL/dev/generated/grakel.GraphletSampling.html#grakel.GraphletSampling)
So a correct statement would be:
gs_kernel = GraphKernel(kernel=dict(name="graphlet_sampling", sampling=dict(n_samples=5)))
Fixed this issue here: https://github.com/ysig/GraKeL/commit/9b436bd115f9018519f0f6f29a03909b22dcacd5
I was reading this introduction: https://ysig.github.io/GraKeL/dev/user_manual/longer_introduction.html
I exeuted the following lines:
An error occurs on fit method:
I'm using grakel 0.1a5 under python 3.7.1