Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Fize Jacques
GMatch4py
Commits
090f3653
Commit
090f3653
authored
Mar 04, 2019
by
Fize Jacques
Browse files
Debug ShortestPathkernel
parent
ea41e13a
Changes
1
Hide whitespace changes
Inline
Side-by-side
gmatch4py/kernels/shortest_path_kernel.pyx
View file @
090f3653
...
@@ -25,7 +25,7 @@ cdef class ShortestPathGraphKernel(Base):
...
@@ -25,7 +25,7 @@ cdef class ShortestPathGraphKernel(Base):
Shorthest path graph kernel.
Shorthest path graph kernel.
"""
"""
def
__init__
(
self
):
def
__init__
(
self
):
Base
.
__init__
(
self
,
0
,
Tru
e
)
Base
.
__init__
(
self
,
0
,
Fals
e
)
def
compare_two
(
self
,
g_1
,
g_2
):
def
compare_two
(
self
,
g_1
,
g_2
):
"""Compute the kernel value (similarity) between two graphs.
"""Compute the kernel value (similarity) between two graphs.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment