def get_top_k_results(sorted_data):
    """
    Compute the top K precisions.

    Args:
        sorted_data: A numpy array of sorted data.

    Returns:
        A list of top K precisions.
    """
    results = []
    for k in [10, 20, 50, 100, 200]:
        results.append("P@" + str(k) + ": " + str(sorted_data[:k][:, -1].sum()))
    return results