Skip to content

Commit

Permalink
cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
haifeng-jin committed May 27, 2018
1 parent 7f30b24 commit 7752345
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion autokeras/constant.py
Expand Up @@ -7,8 +7,9 @@
BETA = 2.576
KERNEL_LAMBDA = 1.0
T_MIN = 0.0001
# T_MIN = 0.8
N_NEIGHBOURS = 8
# T_MIN = 0.8
# N_NEIGHBOURS = 1

# Model Defaults

Expand Down
4 changes: 2 additions & 2 deletions tests/test_search.py
Expand Up @@ -32,10 +32,10 @@ def test_bayesian_searcher(_, _1):
generator = BayesianSearcher(3, (28, 28, 1), verbose=False, path=default_test_path)
constant.N_NEIGHBOURS = 1
constant.T_MIN = 0.8
for _ in range(4):
for _ in range(2):
generator.search(x_train, y_train, x_test, y_test)
clean_dir(default_test_path)
assert len(generator.history) == 4
assert len(generator.history) == 2


def test_search_tree():
Expand Down

0 comments on commit 7752345

Please sign in to comment.