Skip to content

Commit

Permalink
Merge pull request #2 from tomlincr/develop
Browse files Browse the repository at this point in the history
add tests for base class Estimator.get_params()
  • Loading branch information
tomlincr authored Aug 21, 2022
2 parents ffd6487 + b862790 commit 4a488e0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/test_base.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from karateclub import DeepWalk

def test_get_params():
model = DeepWalk()
params = model.get_params()
assert len(params) != 0
assert type(params) is dict
assert '_embedding' not in params

0 comments on commit 4a488e0

Please sign in to comment.