Skip to content

Commit

Permalink
Now the evaluations are running for trainz and fzboost
Browse files Browse the repository at this point in the history
  • Loading branch information
Josue De Santiago committed Aug 4, 2023
1 parent ad3223a commit bb92b92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rail/evaluation/evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,6 @@ def run(self):
out_table['CDE_stat'] = [value.statistic]
out_table['CDE_pval'] = [value.p_value]

self.add_data('output', out_table)
# Converting any possible None to NaN to write it
out_table_to_write = {key: np.array(val).astype(float) for key, val in out_table.items()}
self.add_data('output', out_table_to_write)

0 comments on commit bb92b92

Please sign in to comment.