bd26f4bcddf0dd9b03527c4a011ac3338de0ad23,entity2rec/cli_demo.py,,,#,10
Before Change
break
dicts.append(item_to_item_similarity_dict[seed])
seeds.add(seed)
rec_time = time.time()
final_dict = defaultdict(int)
After Change
break
if len(item_to_item_similarity_dict[seed]) > 0:
dicts.append(item_to_item_similarity_dict[seed])
seeds.add(seed)
else:
print("Seed item not found. Enter another seed.")
rec_time = time.time()
final_dict = defaultdict(int)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: D2KLab/entity2rec
Commit Name: bd26f4bcddf0dd9b03527c4a011ac3338de0ad23
Time: 2018-10-22
Author: cixty@garoupe.eurecom.fr
File Name: entity2rec/cli_demo.py
Class Name:
Method Name:
Project Name: deepchem/deepchem
Commit Name: c56e0acc0c32d451b78117faa23992bb3f7b7410
Time: 2020-06-29
Author: peastman@stanford.edu
File Name: deepchem/data/tests/test_image_dataset.py
Class Name: TestImageDataset
Method Name: test_iterbatches
Project Name: mil-tokyo/webdnn
Commit Name: 2571186c26968de784585bdabf0c0979e9608a85
Time: 2017-04-20
Author: y.kikura@gmail.com
File Name: src/graph_builder/optimizer/util.py
Class Name:
Method Name: listup_operator_in_order