Skip to content

Commit

Permalink
Merge pull request automl#152 from automl/test_intensify
Browse files Browse the repository at this point in the history
Test intensify
  • Loading branch information
mfeurer authored Jan 20, 2017
2 parents a47c111 + 62a1eb6 commit 7c97bf4
Show file tree
Hide file tree
Showing 8 changed files with 724 additions and 483 deletions.
7 changes: 7 additions & 0 deletions smac/facade/roar_facade.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import logging
import typing

import numpy as np

Expand All @@ -13,6 +14,7 @@
from smac.smbo.acquisition import AbstractAcquisitionFunction
from smac.epm.random_epm import RandomEPM
from smac.facade.smac_facade import SMAC
from smac.configspace import Configuration

__author__ = "Marius Lindauer"
__copyright__ = "Copyright 2016, ML4AAD"
Expand All @@ -27,6 +29,7 @@ def __init__(self,
runhistory: RunHistory=None,
intensifier: Intensifier=None,
initial_design: InitialDesign=None,
initial_configurations: typing.List[Configuration]=None,
stats: Stats=None,
rng: np.random.RandomState=None):
'''
Expand All @@ -46,6 +49,9 @@ def __init__(self,
intensification object to issue a racing to decide the current incumbent
initial_design: InitialDesign
initial sampling design
initial_configurations: typing.List[Configuration]
list of initial configurations for initial design --
cannot be used together with initial_design
stats: Stats
optional stats object
rng: np.random.RandomState
Expand Down Expand Up @@ -78,5 +84,6 @@ def __init__(self,
model=model,
runhistory2epm=runhistory2epm,
initial_design=initial_design,
initial_configurations=initial_configurations,
stats=stats,
rng=rng)
4 changes: 2 additions & 2 deletions smac/facade/smac_facade.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ def __init__(self,
RunHistory2EPM4LogCost if objective is runtime.
initial_design: InitialDesign
initial sampling design
initial_configuration: typing.List[Configuration]
initial_configurations: typing.List[Configuration]
list of initial configurations for initial design --
cannot be used togehter with initial_design
cannot be used together with initial_design
stats: Stats
optional stats object
rng: np.random.RandomState
Expand Down
Loading

0 comments on commit 7c97bf4

Please sign in to comment.