Skip to content

Commit cc500a9

Browse files
committed
update step2 imputation
1 parent fe8bc3a commit cc500a9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ wandb
1414
test_automl/data
1515
test_automl/test.py
1616
*.pkl
17+
*.pt
18+
openfe-singlecell

test_automl/step2_imputation_deepimpute.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def train(config):
4747
X_raw = torch.tensor(X_raw.toarray()).float()
4848
X_train = X * mask
4949
model = DeepImpute(predictors, targets, dataset, config.sub_outputdim, config.hidden_dim, config.dropout, seed,
50-
config.gpu)
50+
2)
5151

5252
model.fit(X_train, X_train, mask, config.batch_size, config.lr, config.n_epochs, config.patience)
5353
imputed_data = model.predict(X_train, mask)
@@ -70,7 +70,7 @@ def startSweep(parameters_dict) -> Tuple[Dict[str, Any], Callable[..., Any]]:
7070
'value': 1e-5
7171
},
7272
'n_epochs': {
73-
'value': 500
73+
'value': 5
7474
},
7575
'batch_size': {
7676
'value': 64

0 commit comments

Comments
 (0)