54de19a7902cdb47d9ab61d50af9fce546e5b546,lexos/processors/analyze/topword.py,,group_division,#Any#Any#,48
Before Change
// pack the Chunk data in to ChunkMap(because this is fast)
assert word_lists, EMPTY_LIST_MESSAGE
assert group_map, EMPTY_LIST_MESSAGE
for i in range(len(group_map)):
for j in range(len(group_map[i])):
group_map[i][j] = word_lists[group_map[i][j]]
return group_map
def _z_test_word_list_(count_list_i, count_list_j, row_sum, total_sum, words):
After Change
// pack the Chunk data in to ChunkMap(because this is fast)
assert dtm, EMPTY_LIST_MESSAGE
assert group_map, EMPTY_LIST_MESSAGE
group_list = []
label_list = []
for _, row in enumerate(group_map):
group_list.append(np.dot(row, dtm.values))
label_list.append(np.dot(row, dtm.columns.values))
return group_list, label_list
def _z_test_word_list_(count_list_i, count_list_j, row_sum, total_sum, words):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 12
Instances
Project Name: WheatonCS/Lexos
Commit Name: 54de19a7902cdb47d9ab61d50af9fce546e5b546
Time: 2017-08-01
Author: weltch1997@gmail.com
File Name: lexos/processors/analyze/topword.py
Class Name:
Method Name: group_division
Project Name: WheatonCS/Lexos
Commit Name: 54de19a7902cdb47d9ab61d50af9fce546e5b546
Time: 2017-08-01
Author: weltch1997@gmail.com
File Name: lexos/processors/analyze/topword.py
Class Name:
Method Name: group_division
Project Name: dmlc/dgl
Commit Name: f1b19a6b67f353762025dae38c2ab9363f553930
Time: 2020-06-19
Author: wmjlyjemaine@gmail.com
File Name: python/dgl/heterograph.py
Class Name: DGLHeteroGraph
Method Name: to
Project Name: jhfjhfj1/autokeras
Commit Name: 49ca8c83ca65a1060713d0295d1d206b43933e3b
Time: 2017-12-18
Author: jhfjhfj1@gmail.com
File Name: autokeras/generator.py
Class Name: HillClimbingClassifierGenerator
Method Name: generate