@staticmethod
def __filter_predictions(predictions: list, precision_threshold: float) ->dict:
    """
        Filter predictions such that all items with precision below threshold are disregarded.

        :param predictions: list of lists with a single tuple with predictions and their softmax score
        :param precision_threshold: threshold below which predictions are disregarded.
        :return: filtered predictions: list of predictions that above the threshold.
        """
    filtered_predictions = []
    for prediction in predictions:
        if prediction[0][1] > precision_threshold:
            filtered_predictions.append(prediction[0])
        else:
            filtered_predictions.append(())
    return filtered_predictions
