normalise_weights# normalise_weights(weights)[source]# Normalise weight distribution so that the sum of weights is 1. Parameters: weights (Dict[int, float]) – Return type: Dict[int, float]