Skip to content

Commit

Permalink
Changed import levels.
Browse files Browse the repository at this point in the history
  • Loading branch information
leojklarner committed Nov 7, 2023
1 parent d133c93 commit 852f214
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gauche/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
from .gp import SIGP, NonTensorialInputs

__all__ = ["SIGP", "NonTensorialInputs"]

__version__ = "0.0.1"
31 changes: 31 additions & 0 deletions gauche/kernels/fingerprint_kernels/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
from .braun_blanquet_kernel import BraunBlanquetKernel
from .dice_kernel import DiceKernel
from .faith_kernel import FaithKernel
from .forbes_kernel import ForbesKernel
from .inner_product_kernel import InnerProductKernel
from .intersection_kernel import IntersectionKernel
from .minmax_kernel import MinMaxKernel
from .otsuka_kernel import OtsukaKernel
from .rand_kernel import RandKernel
from .rogers_tanimoto_kernel import RogersTanimotoKernel
from .russell_rao_kernel import RussellRaoKernel
from .sogenfrei_kernel import SogenfreiKernel
from .sokal_sneath_kernel import SokalSneathKernel
from .tanimoto_kernel import TanimotoKernel

__all__ = [
"BraunBlanquetKernel",
"DiceKernel",
"FaithKernel",
"ForbesKernel",
"InnerProductKernel",
"IntersectionKernel",
"MinMaxKernel",
"OtsukaKernel",
"RandKernel",
"RogersTanimotoKernel",
"RussellRaoKernel",
"SogenfreiKernel",
"SokalSneathKernel",
"TanimotoKernel",
]
23 changes: 23 additions & 0 deletions gauche/kernels/graph_kernels/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
from .grakel_kernels import (
VertexHistogramKernel,
EdgeHistogramKernel,
WeisfeilerLehmanKernel,
NeighborhoodHashKernel,
RandomWalkKernel,
RandomWalkLabeledKernel,
ShortestPathKernel,
ShortestPathLabeledKernel,
GraphletSamplingKernel,
)

__all__ = [
"VertexHistogramKernel",
"EdgeHistogramKernel",
"WeisfeilerLehmanKernel",
"NeighborhoodHashKernel",
"RandomWalkKernel",
"RandomWalkLabeledKernel",
"ShortestPathKernel",
"ShortestPathLabeledKernel",
"GraphletSamplingKernel",
]
3 changes: 3 additions & 0 deletions gauche/kernels/string_kernels/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .sskkernel import SubsequenceStringKernel

__all__ = ["SubsequenceStringKernel"]

0 comments on commit 852f214

Please sign in to comment.