global_recall.py
def percentiles(val_count_list, retrieved):
    "Compute retrieval scores for each percentile."
    val_ordered = [word for word, count in val_count_list]
    chunk_size = ceil(float(len(val_ordered))/10)
    return {'val_scores': retrieval_scores(val_ordered, retrieved, chunk_size),
            'num_percentiles': 10}
Compute retrieval scores for each percentile.
Compute retrieval scores for each percentile.
Compute retrieval scores for each percentile .
def percentiles(val_count_list, retrieved):
    val_ordered = [word for word, count in val_count_list]
    chunk_size = ceil(float(len(val_ordered))/10)
    return {'val_scores': retrieval_scores(val_ordered, retrieved, chunk_size),
            'num_percentiles': 10}
def percentiles ( val_count_list , retrieved ) : val_ordered = [ word for word , count in val_count_list ] chunk_size = ceil ( float ( len ( val_ordered ) ) / 10 ) return { 'val_scores' : retrieval_scores ( val_ordered , retrieved , chunk_size ) , 'num_percentiles' : 10 }
Compute retrieval scores for each percentile.
Compute retrieval scores for each percentile .
"Compute retrieval scores for each percentile."
val_count_list
retrieved