optpolicy_main.OptimalPolicy.evaluate#
- OptimalPolicy.evaluate(allocation_df, data_df, data_title: str = '', seed: int = 12434)#
Evaluate allocation with potential outcome data.
- Parameters
allocation_df (DataFrame) – Optimal allocation as outputed by the
solve()
,solvefair()
, 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_all_dic –
- ‘results_dic’: Collected results of evaluation with
self-explanatory keys.
’outpath’: Output path.
- Return type
Dictory