diff --git a/setup.py b/setup.py index 01b4c0e..b0a39a2 100755 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ URL = 'http://autonom.io' LICENSE = 'MIT' DOWNLOAD_URL = 'https://github.com/autonomio/talos/' -VERSION = '1.2' +VERSION = '1.2.2' try: diff --git a/talos/__init__.py b/talos/__init__.py index e9eb166..90493d4 100755 --- a/talos/__init__.py +++ b/talos/__init__.py @@ -34,4 +34,4 @@ del commands, scan, model, metrics, key del sub, keep_from_templates, template_sub, warnings -__version__ = "1.2" +__version__ = "1.2.2" diff --git a/talos/parameters/ParamSpace.py b/talos/parameters/ParamSpace.py index cf9255d..ee307fe 100644 --- a/talos/parameters/ParamSpace.py +++ b/talos/parameters/ParamSpace.py @@ -129,21 +129,15 @@ def _param_space_creation(self): actual parameter permutations for the experiment. ''' - if len(self.param_index) < 100000: - - final_grid = list(it.product(*self._params_temp)) - return np.array(final_grid, dtype='object') - - else: - final_grid = [] - for i in self.param_index: - p = [] - for l in reversed(self._params_temp): - i, s = divmod(int(i), len(l)) - p.insert(0, l[s]) - final_grid.append(tuple(p)) - - return np.array(final_grid, dtype='object') + final_grid = [] + for i in self.param_index: + p = [] + for l in reversed(self._params_temp): + i, s = divmod(int(i), len(l)) + p.insert(0, l[s]) + final_grid.append(tuple(p)) + + return np.array(final_grid, dtype='object') def _check_time_limit(self):