f735d803fe2705e25e028cc909ff1cc211e3e285,lexos/processors/analyze/similarity.py,,similarity_maker,#,8

Before Change


    final_score_array = np.round(sorted_score_array, decimals=4)

    // sort the
    final_name_array = docs_name_array[docs_score_array.argsort()]

    // pack the scores and names in data_frame
    score_name_data_frame = pd.DataFrame(final_score_array,
                                         index=final_name_array,

After Change


    final_score_array = np.round(sorted_score_array, decimals=4)

    // sort the name array in terms of the score array
    sorted_score_array_index = docs_score_array.argsort()
    final_name_array = docs_name_array[sorted_score_array_index]

    // pack the scores and names in data_frame
    score_name_data_frame = pd.DataFrame(final_score_array,
                                         index=final_name_array,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: WheatonCS/Lexos
Commit Name: f735d803fe2705e25e028cc909ff1cc211e3e285
Time: 2017-08-04
Author: 13501393281@163.com
File Name: lexos/processors/analyze/similarity.py
Class Name:
Method Name: similarity_maker


Project Name: fgnt/nara_wpe
Commit Name: 9378df8f4f52c66a9aa3ab1650d9c73cf030c232
Time: 2017-09-04
Author: ldrude@mail.uni-paderborn.de
File Name: nara_wpe/wpe.py
Class Name:
Method Name: get_filter_matrix_conj_v5


Project Name: WheatonCS/Lexos
Commit Name: 86823b4e90e2824aca303503112b7e72cda6372e
Time: 2017-08-04
Author: 13501393281@163.com
File Name: lexos/processors/analyze/similarity.py
Class Name:
Method Name: similarity_maker