optpolicy_main.OptimalPolicy.estrisk_adjust#

OptimalPolicy.estrisk_adjust(data_df, data_title: str = '')#

Adjust policy score for estimation risk.

Parameters
  • data_df (Dataframe) – Input data.

  • data_title (String, optional) – This string is used as title in outputs. The default is ‘’.

Returns

results_dic – Contains the results. This dictionary has the following structure: ‘data_estrisk_df’ : DataFrame

Input data with additional fairness adjusted scores.

’estrisk_scores_names’List of strings.

Names of adjusted scores.

’outpath’Path

Location of directory in which output is saved.

Return type

Dictionary.