Skip to content
Snippets Groups Projects
Commit 289fa60d authored by Riku-Laine's avatar Riku-Laine
Browse files

Updated version of modelling script with garbage collection

parent 02a7d3f5
No related branches found
No related tags found
No related merge requests found
......@@ -879,6 +879,8 @@ def perfComp(dgModule, deciderModule, title, save_name, model_type=None,
# Remove the variables to conserve memory
del(pars)
del(fit)
gc.collect()
# Impute the observed
y_imp[:, observed] = 1 - test_labeled.loc[observed, 'result_Y']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment