File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 88OUTPUT_DIR = f'{ CURRENT_DIR } /output'
99INPUT_CSV = f'{ CURRENT_DIR } /cal.csv'
1010
11+ DO_CLEANUP = True
12+
1113
1214def _cleanup ():
1315 print (f'Cleaning up { OUTPUT_DIR } ' )
@@ -29,9 +31,13 @@ def test_prediction_dataset():
2931 calpd = PredictionDataset (predictions_csv = INPUT_CSV ,
3032 dataset_name = 'my_cal_data' )
3133
32- calpd .run_reports (OUTPUT_DIR )
34+ calpd .create_reports_dir (OUTPUT_DIR )
35+ calpd .visualize_prediction_heatmap ()
36+ calpd .visualize_prediction_stripplot ()
37+ calpd .visualize_prediction_stripplot ()
3338 finally :
34- _cleanup ()
39+ if DO_CLEANUP :
40+ _cleanup ()
3541
3642
3743def test_fnr_cop ():
@@ -47,5 +53,5 @@ def test_fnr_cop():
4753 trial = mcp .do_validation_trial (n_runs = 10 )
4854 trial .run_reports (OUTPUT_DIR )
4955 finally :
50- print ( "hi" )
51- # _cleanup()
56+ if DO_CLEANUP :
57+ _cleanup ()
You can’t perform that action at this time.
0 commit comments