Skip to content

Commit 6d41415

Browse files
committed
update step2 imputation
1 parent cc500a9 commit 6d41415

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test_automl/step2_imputation_deepimpute.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def train(config):
5858
print('deepimpute')
5959
print(f'rmses: {rmses}')
6060
print(f'rmses: {np.mean(rmses)} +/- {np.std(rmses)}')
61-
return ({"scores": np.mean(rmses)})
61+
return ({"rmses": np.mean(rmses)})
6262

6363

6464
def startSweep(parameters_dict) -> Tuple[Dict[str, Any], Callable[..., Any]]:
@@ -111,7 +111,7 @@ def startSweep(parameters_dict) -> Tuple[Dict[str, Any], Callable[..., Any]]:
111111
})
112112
sweep_config = {'method': 'grid'}
113113
sweep_config['parameters'] = parameters_dict
114-
metric = {'name': 'scores', 'goal': 'maximize'}
114+
metric = {'name': 'rmses', 'goal': 'minimize'}
115115

116116
sweep_config['metric'] = metric
117117
return sweep_config, train #Return function configuration and training function

test_automl/step3_imputation_deepimpute.py

Whitespace-only changes.

0 commit comments

Comments
 (0)