Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haifeng-jin committed Sep 23, 2018
1 parent 1bbb76b commit 4260d25
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/other_searcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ def search(self, train_data, test_data, timeout=60 * 60 * 24):
# terminate and join the subprocess to prevent any resource leak
pass

def export_json(self, path):
pass


class GridSearcher(Searcher):
def init_search(self):
Expand Down Expand Up @@ -104,6 +107,9 @@ def search(self, train_data, test_data, timeout=60 * 60 * 24):
# terminate and join the subprocess to prevent any resource leak
pass

def export_json(self, path):
pass


class SeasSearcher(Searcher):
def search(self, train_data, test_data, timeout=60 * 60 * 24):
Expand Down Expand Up @@ -183,6 +189,9 @@ def search(self, train_data, test_data, timeout=60 * 60 * 24):
pool.close()
pool.join()

def export_json(self, path):
pass


class BoSearcher(Searcher):
def search(self, train_data, test_data, timeout=60 * 60 * 24):
Expand Down

0 comments on commit 4260d25

Please sign in to comment.