def filter_predictions(predictions, max_regions, threshold):
    results = [entry for entry in predictions if entry["prob"] >= threshold]
    results = results[0:max_regions]
    return results
Returns the user's public key if it can be found in LDAP, otherwise
dataset/ETHPy150Open BradNeuberg/cloudless/src/cloudless/inference/localization.py/filter_predictions--crossover with--dataset/ETHPy150Open spotify/crtauth/crtauth/ldap_key_provider.py/HybridKeyProvider.get_key