inFairness.utils package# Submodules# inFairness.utils.datautils module convert_tensor_to_numpy() generate_data_pairs() get_device() include_exclude_terms() inFairness.utils.misc module initializer() inFairness.utils.ndcg module discounted_cumulative_gain() monte_carlo_vect_ndcg() normalized_discounted_cumulative_gain() vect_normalized_discounted_cumulative_gain() inFairness.utils.params module freeze_network() unfreeze_network() inFairness.utils.plackett_luce module PlackettLuce PlackettLuce.arg_constraints PlackettLuce.expand() PlackettLuce.log_prob() PlackettLuce.sample() PlackettLuce.support inFairness.utils.postprocessing module build_graph_from_dists() get_laplacian() laplacian_solve() inFairness.utils.validationutils module is_tensor_binary() Module contents#