├── AUTHORS ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── agents ├── allocation_agents.py ├── allocation_agents_test.py ├── classifier_agents.py ├── classifier_agents_test.py ├── college_admission_jury.py ├── college_admission_jury_test.py ├── infectious_disease_agents.py ├── infectious_disease_agents_test.py ├── oracle_lending_agent.py ├── oracle_lending_agent_test.py ├── random_agents.py ├── random_agents_test.py ├── recommenders │ ├── __init__.py │ ├── batched_movielens_rnn_agent.py │ ├── batched_movielens_rnn_agent_test.py │ ├── evaluation.py │ ├── evaluation_test.py │ ├── model.py │ ├── model_test.py │ ├── rnn_agent.py │ ├── rnn_agent_tests.py │ ├── rnn_cvar_agent.py │ └── utils.py ├── threshold_policies.py └── threshold_policies_test.py ├── core.py ├── core_test.py ├── distributions.py ├── distributions_test.py ├── docs ├── FAQ.md ├── img │ ├── cumulative_loans.png │ ├── final_credit_distribution.png │ ├── initial_credit_distribution.png │ ├── precision.png │ └── recall.png ├── installation.md ├── quickstart.md ├── using_ml_fairness_gym.md └── using_runner.md ├── environments ├── README.md ├── attention_allocation.py ├── attention_allocation_test.py ├── college_admission.py ├── college_admission_test.py ├── infectious_disease.py ├── infectious_disease_test.py ├── lending.py ├── lending_params.py ├── lending_test.py ├── recommenders │ ├── README.md │ ├── download_movielens.py │ ├── download_movielens_test.py │ ├── movie_lens_dynamic.py │ ├── movie_lens_dynamic_test.py │ ├── movie_lens_utils.py │ ├── movielens_factorization.json │ ├── recsim_samplers.py │ ├── recsim_wrapper.py │ ├── recsim_wrapper_test.py │ ├── restaurant_toy_recsim.py │ ├── restaurant_toy_recsim_test.py │ └── test_data │ │ ├── embeddings.json │ │ ├── movies.csv │ │ ├── ratings.csv │ │ └── users.csv ├── template.py └── template_test.py ├── experiments ├── README.md ├── acm_fat_2020 │ ├── aggregate_lending_recall_values.py │ ├── attention_allocation_experiment_fat_main.py │ ├── college_admission_main.py │ └── lending_experiments_main.py ├── attention_allocation_experiment.py ├── attention_allocation_experiment_plotting.py ├── attention_allocation_experiment_test.py ├── college_admission.py ├── college_admission_test.py ├── college_admission_util.py ├── college_admission_util_test.py ├── config │ ├── college_admission_config.gin │ └── example_config.gin ├── infectious_disease.py ├── infectious_disease_rl.py ├── infectious_disease_rl_test.py ├── infectious_disease_test.py ├── infectious_disease_util.py ├── lending.py ├── lending_demo.py ├── lending_plots.py ├── lending_plots_test.py ├── lending_test.py ├── movielens_recs.py ├── movielens_recs_main.py └── movielens_recs_test.py ├── file_util.py ├── file_util_test.py ├── metrics ├── distribution_comparison_metrics.py ├── distribution_comparison_metrics_test.py ├── error_metrics.py ├── error_metrics_test.py ├── infectious_disease_metrics.py ├── infectious_disease_metrics_test.py ├── lending_metrics.py ├── lending_metrics_test.py ├── value_tracking_metrics.py └── value_tracking_metrics_test.py ├── papers ├── acm_fat_2020_fairness_is_not_static.pdf └── fairmlforhealth2019_fair_treatment_allocations_in_social_networks.pdf ├── params.py ├── params_test.py ├── requirements.txt ├── rewards.py ├── rewards_test.py ├── run.sh ├── run_util.py ├── runner.py ├── runner_lib.py ├── runner_lib_test.py ├── spaces ├── batch.py ├── batch_test.py ├── graph.py ├── graph_test.py ├── multi_discrete_with_none.py ├── multi_discrete_with_none_test.py ├── multinomial.py └── multinomial_test.py ├── test_util.py └── tests.sh /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/AUTHORS -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/README.md -------------------------------------------------------------------------------- /agents/allocation_agents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/allocation_agents.py -------------------------------------------------------------------------------- /agents/allocation_agents_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/allocation_agents_test.py -------------------------------------------------------------------------------- /agents/classifier_agents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/classifier_agents.py -------------------------------------------------------------------------------- /agents/classifier_agents_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/classifier_agents_test.py -------------------------------------------------------------------------------- /agents/college_admission_jury.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/college_admission_jury.py -------------------------------------------------------------------------------- /agents/college_admission_jury_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/college_admission_jury_test.py -------------------------------------------------------------------------------- /agents/infectious_disease_agents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/infectious_disease_agents.py -------------------------------------------------------------------------------- /agents/infectious_disease_agents_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/infectious_disease_agents_test.py -------------------------------------------------------------------------------- /agents/oracle_lending_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/oracle_lending_agent.py -------------------------------------------------------------------------------- /agents/oracle_lending_agent_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/oracle_lending_agent_test.py -------------------------------------------------------------------------------- /agents/random_agents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/random_agents.py -------------------------------------------------------------------------------- /agents/random_agents_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/random_agents_test.py -------------------------------------------------------------------------------- /agents/recommenders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/recommenders/__init__.py -------------------------------------------------------------------------------- /agents/recommenders/batched_movielens_rnn_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/recommenders/batched_movielens_rnn_agent.py -------------------------------------------------------------------------------- /agents/recommenders/batched_movielens_rnn_agent_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/recommenders/batched_movielens_rnn_agent_test.py -------------------------------------------------------------------------------- /agents/recommenders/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/recommenders/evaluation.py -------------------------------------------------------------------------------- /agents/recommenders/evaluation_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/recommenders/evaluation_test.py -------------------------------------------------------------------------------- /agents/recommenders/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/recommenders/model.py -------------------------------------------------------------------------------- /agents/recommenders/model_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/recommenders/model_test.py -------------------------------------------------------------------------------- /agents/recommenders/rnn_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/recommenders/rnn_agent.py -------------------------------------------------------------------------------- /agents/recommenders/rnn_agent_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/recommenders/rnn_agent_tests.py -------------------------------------------------------------------------------- /agents/recommenders/rnn_cvar_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/recommenders/rnn_cvar_agent.py -------------------------------------------------------------------------------- /agents/recommenders/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/recommenders/utils.py -------------------------------------------------------------------------------- /agents/threshold_policies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/threshold_policies.py -------------------------------------------------------------------------------- /agents/threshold_policies_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/agents/threshold_policies_test.py -------------------------------------------------------------------------------- /core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/core.py -------------------------------------------------------------------------------- /core_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/core_test.py -------------------------------------------------------------------------------- /distributions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/distributions.py -------------------------------------------------------------------------------- /distributions_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/distributions_test.py -------------------------------------------------------------------------------- /docs/FAQ.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/docs/FAQ.md -------------------------------------------------------------------------------- /docs/img/cumulative_loans.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/docs/img/cumulative_loans.png -------------------------------------------------------------------------------- /docs/img/final_credit_distribution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/docs/img/final_credit_distribution.png -------------------------------------------------------------------------------- /docs/img/initial_credit_distribution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/docs/img/initial_credit_distribution.png -------------------------------------------------------------------------------- /docs/img/precision.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/docs/img/precision.png -------------------------------------------------------------------------------- /docs/img/recall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/docs/img/recall.png -------------------------------------------------------------------------------- /docs/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/docs/installation.md -------------------------------------------------------------------------------- /docs/quickstart.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/docs/quickstart.md -------------------------------------------------------------------------------- /docs/using_ml_fairness_gym.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/docs/using_ml_fairness_gym.md -------------------------------------------------------------------------------- /docs/using_runner.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/docs/using_runner.md -------------------------------------------------------------------------------- /environments/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/README.md -------------------------------------------------------------------------------- /environments/attention_allocation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/attention_allocation.py -------------------------------------------------------------------------------- /environments/attention_allocation_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/attention_allocation_test.py -------------------------------------------------------------------------------- /environments/college_admission.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/college_admission.py -------------------------------------------------------------------------------- /environments/college_admission_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/college_admission_test.py -------------------------------------------------------------------------------- /environments/infectious_disease.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/infectious_disease.py -------------------------------------------------------------------------------- /environments/infectious_disease_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/infectious_disease_test.py -------------------------------------------------------------------------------- /environments/lending.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/lending.py -------------------------------------------------------------------------------- /environments/lending_params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/lending_params.py -------------------------------------------------------------------------------- /environments/lending_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/lending_test.py -------------------------------------------------------------------------------- /environments/recommenders/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/README.md -------------------------------------------------------------------------------- /environments/recommenders/download_movielens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/download_movielens.py -------------------------------------------------------------------------------- /environments/recommenders/download_movielens_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/download_movielens_test.py -------------------------------------------------------------------------------- /environments/recommenders/movie_lens_dynamic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/movie_lens_dynamic.py -------------------------------------------------------------------------------- /environments/recommenders/movie_lens_dynamic_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/movie_lens_dynamic_test.py -------------------------------------------------------------------------------- /environments/recommenders/movie_lens_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/movie_lens_utils.py -------------------------------------------------------------------------------- /environments/recommenders/movielens_factorization.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/movielens_factorization.json -------------------------------------------------------------------------------- /environments/recommenders/recsim_samplers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/recsim_samplers.py -------------------------------------------------------------------------------- /environments/recommenders/recsim_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/recsim_wrapper.py -------------------------------------------------------------------------------- /environments/recommenders/recsim_wrapper_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/recsim_wrapper_test.py -------------------------------------------------------------------------------- /environments/recommenders/restaurant_toy_recsim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/restaurant_toy_recsim.py -------------------------------------------------------------------------------- /environments/recommenders/restaurant_toy_recsim_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/restaurant_toy_recsim_test.py -------------------------------------------------------------------------------- /environments/recommenders/test_data/embeddings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/test_data/embeddings.json -------------------------------------------------------------------------------- /environments/recommenders/test_data/movies.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/test_data/movies.csv -------------------------------------------------------------------------------- /environments/recommenders/test_data/ratings.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/recommenders/test_data/ratings.csv -------------------------------------------------------------------------------- /environments/recommenders/test_data/users.csv: -------------------------------------------------------------------------------- 1 | userId 2 | 0 3 | 1 4 | 2 5 | 3 6 | 4 7 | -------------------------------------------------------------------------------- /environments/template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/template.py -------------------------------------------------------------------------------- /environments/template_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/environments/template_test.py -------------------------------------------------------------------------------- /experiments/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/README.md -------------------------------------------------------------------------------- /experiments/acm_fat_2020/aggregate_lending_recall_values.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/acm_fat_2020/aggregate_lending_recall_values.py -------------------------------------------------------------------------------- /experiments/acm_fat_2020/attention_allocation_experiment_fat_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/acm_fat_2020/attention_allocation_experiment_fat_main.py -------------------------------------------------------------------------------- /experiments/acm_fat_2020/college_admission_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/acm_fat_2020/college_admission_main.py -------------------------------------------------------------------------------- /experiments/acm_fat_2020/lending_experiments_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/acm_fat_2020/lending_experiments_main.py -------------------------------------------------------------------------------- /experiments/attention_allocation_experiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/attention_allocation_experiment.py -------------------------------------------------------------------------------- /experiments/attention_allocation_experiment_plotting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/attention_allocation_experiment_plotting.py -------------------------------------------------------------------------------- /experiments/attention_allocation_experiment_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/attention_allocation_experiment_test.py -------------------------------------------------------------------------------- /experiments/college_admission.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/college_admission.py -------------------------------------------------------------------------------- /experiments/college_admission_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/college_admission_test.py -------------------------------------------------------------------------------- /experiments/college_admission_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/college_admission_util.py -------------------------------------------------------------------------------- /experiments/college_admission_util_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/college_admission_util_test.py -------------------------------------------------------------------------------- /experiments/config/college_admission_config.gin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/config/college_admission_config.gin -------------------------------------------------------------------------------- /experiments/config/example_config.gin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/config/example_config.gin -------------------------------------------------------------------------------- /experiments/infectious_disease.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/infectious_disease.py -------------------------------------------------------------------------------- /experiments/infectious_disease_rl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/infectious_disease_rl.py -------------------------------------------------------------------------------- /experiments/infectious_disease_rl_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/infectious_disease_rl_test.py -------------------------------------------------------------------------------- /experiments/infectious_disease_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/infectious_disease_test.py -------------------------------------------------------------------------------- /experiments/infectious_disease_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/infectious_disease_util.py -------------------------------------------------------------------------------- /experiments/lending.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/lending.py -------------------------------------------------------------------------------- /experiments/lending_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/lending_demo.py -------------------------------------------------------------------------------- /experiments/lending_plots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/lending_plots.py -------------------------------------------------------------------------------- /experiments/lending_plots_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/lending_plots_test.py -------------------------------------------------------------------------------- /experiments/lending_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/lending_test.py -------------------------------------------------------------------------------- /experiments/movielens_recs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/movielens_recs.py -------------------------------------------------------------------------------- /experiments/movielens_recs_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/movielens_recs_main.py -------------------------------------------------------------------------------- /experiments/movielens_recs_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/experiments/movielens_recs_test.py -------------------------------------------------------------------------------- /file_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/file_util.py -------------------------------------------------------------------------------- /file_util_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/file_util_test.py -------------------------------------------------------------------------------- /metrics/distribution_comparison_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/metrics/distribution_comparison_metrics.py -------------------------------------------------------------------------------- /metrics/distribution_comparison_metrics_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/metrics/distribution_comparison_metrics_test.py -------------------------------------------------------------------------------- /metrics/error_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/metrics/error_metrics.py -------------------------------------------------------------------------------- /metrics/error_metrics_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/metrics/error_metrics_test.py -------------------------------------------------------------------------------- /metrics/infectious_disease_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/metrics/infectious_disease_metrics.py -------------------------------------------------------------------------------- /metrics/infectious_disease_metrics_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/metrics/infectious_disease_metrics_test.py -------------------------------------------------------------------------------- /metrics/lending_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/metrics/lending_metrics.py -------------------------------------------------------------------------------- /metrics/lending_metrics_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/metrics/lending_metrics_test.py -------------------------------------------------------------------------------- /metrics/value_tracking_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/metrics/value_tracking_metrics.py -------------------------------------------------------------------------------- /metrics/value_tracking_metrics_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/metrics/value_tracking_metrics_test.py -------------------------------------------------------------------------------- /papers/acm_fat_2020_fairness_is_not_static.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/papers/acm_fat_2020_fairness_is_not_static.pdf -------------------------------------------------------------------------------- /papers/fairmlforhealth2019_fair_treatment_allocations_in_social_networks.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/papers/fairmlforhealth2019_fair_treatment_allocations_in_social_networks.pdf -------------------------------------------------------------------------------- /params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/params.py -------------------------------------------------------------------------------- /params_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/params_test.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/requirements.txt -------------------------------------------------------------------------------- /rewards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/rewards.py -------------------------------------------------------------------------------- /rewards_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/rewards_test.py -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/run.sh -------------------------------------------------------------------------------- /run_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/run_util.py -------------------------------------------------------------------------------- /runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/runner.py -------------------------------------------------------------------------------- /runner_lib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/runner_lib.py -------------------------------------------------------------------------------- /runner_lib_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/runner_lib_test.py -------------------------------------------------------------------------------- /spaces/batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/spaces/batch.py -------------------------------------------------------------------------------- /spaces/batch_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/spaces/batch_test.py -------------------------------------------------------------------------------- /spaces/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/spaces/graph.py -------------------------------------------------------------------------------- /spaces/graph_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/spaces/graph_test.py -------------------------------------------------------------------------------- /spaces/multi_discrete_with_none.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/spaces/multi_discrete_with_none.py -------------------------------------------------------------------------------- /spaces/multi_discrete_with_none_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/spaces/multi_discrete_with_none_test.py -------------------------------------------------------------------------------- /spaces/multinomial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/spaces/multinomial.py -------------------------------------------------------------------------------- /spaces/multinomial_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/spaces/multinomial_test.py -------------------------------------------------------------------------------- /test_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/test_util.py -------------------------------------------------------------------------------- /tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/ml-fairness-gym/HEAD/tests.sh --------------------------------------------------------------------------------