optpolicy_functions.OptimalPolicy.evaluate#
- OptimalPolicy.evaluate(allocation_df, data_df, data_title='', seed=12434)#
Evaluate allocation with potential outcome data.
- Parameters
allocation_df (DataFrame) – Optimal allocation as outputed by the
solve()
andallocate()
methods.data_df (DataFrame) – Additional information that can be linked to allocation_df.
data_title (String, optional) – This string is used as title in outputs. The default is ‘’.
seed (Integer, optional) – Seed for random number generators. The default is 12434.
- Returns
results_dic (Dictory) – Collected results of evaluation with self-explanatory keys.
outpath (String) – Location of directory in which output is saved.