984837dda09876a4e08cb672ccc6163dc09298ce,t2t_csaky/scripts/hred_metrics.py,,main,#,350
Before Change
def main():
m = Metrics(sys.argv[1]) if len(sys.argv) > 1 else Metrics()
m.metrics()
m.write_metrics()
folder = "decode_dir/DailyDialog/temp_overfit/"
After Change
//m.write_metrics()
folder = "decode_dir/Cornell/twitter_all/"
for file_name in os.listdir(folder):
m = Metrics(folder + file_name)
m.metrics()
m.write_metrics()
if __name__ == "__main__":
main()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: ricsinaruto/Seq2seqChatbots
Commit Name: 984837dda09876a4e08cb672ccc6163dc09298ce
Time: 2019-05-28
Author: ricsinaruto@hotmail.com
File Name: t2t_csaky/scripts/hred_metrics.py
Class Name:
Method Name: main
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: dd13edfd8e2f10fe43499d89bf6abc875fbafd7b
Time: 2018-06-17
Author: yutiansut@qq.com
File Name: QUANTAXIS/QASU/save_local.py
Class Name:
Method Name: QA_SU_save_financial_files
Project Name: nilmtk/nilmtk
Commit Name: 03d22bbb0177117498b3021e068611c6b9421e15
Time: 2014-07-21
Author: oliparson@gmail.com
File Name: nilmtk/dataset_converters/wikienergy/download_wikienergy.py
Class Name:
Method Name: download_wikienergy