d8cb4f0bb3d16ffe913457485eeb7aa276253a06,lexos/processors/analyze/topword.py,,group_division,#,48
Before Change
assert np.size(division_map) > 0, EMPTY_NP_ARRAY_MESSAGE
// initialize
group_list = []
label_list = []
// Create group map
for _, row in enumerate(division_map):
group_list.append(dtm.values[row])
label_list.append(dtm.index.values[row])
return group_list, label_list
def _z_test_word_list_(count_list_i: np.ndarray, count_list_j: np.ndarray,
After Change
name_list = dtm.index.values
// create group map
group_list = [count_matrix[row] for _, row in enumerate(division_map)]
label_list = [name_list[row] for _, row in enumerate(division_map)]
return group_list, label_list
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: WheatonCS/Lexos
Commit Name: d8cb4f0bb3d16ffe913457485eeb7aa276253a06
Time: 2017-08-03
Author: weltch1997@gmail.com
File Name: lexos/processors/analyze/topword.py
Class Name:
Method Name: group_division
Project Name: WheatonCS/Lexos
Commit Name: 62f66421474f85d8ee0eb14db9bc3ff7314497ad
Time: 2017-08-02
Author: weltch1997@gmail.com
File Name: lexos/processors/analyze/topword.py
Class Name:
Method Name: analyze_group_to_group
Project Name: ANSSI-FR/SecuML
Commit Name: 39efccc696a1c20745a52cc50935cdc24f92230d
Time: 2019-05-09
Author: anael.beaugnon@ssi.gouv.fr
File Name: secuml/core/classif/classifiers/__init__.py
Class Name: Classifier
Method Name: _predict_streaming
Project Name: vitchyr/rlkit
Commit Name: 9bdbb11cf27060e7847a87dcdf691dd6b96ce6df
Time: 2020-08-09
Author: 38036768+YangRui2015@users.noreply.github.com
File Name: rlkit/data_management/obs_dict_replay_buffer.py
Class Name: ObsDictRelabelingBuffer
Method Name: random_batch