79b19e209e757e0aee29d0958aec53c4677e6a4c,senteval/tools/validation.py,InnerKFoldClassifier,__init__,#InnerKFoldClassifier#Any#Any#Any#,33
Before Change
self.devresults = []
self.testresults = []
self.usepytorch = config["usepytorch"]
self.classifier = config["classifier"]
self.nhid = config["nhid"]
self.modelname = "sklearn-LogReg" if not config["usepytorch"] else \
"pytorch-" + config["classifier"]
self.k = 5 if "kfold" not in config else config["kfold"]
After Change
self.seed = config["seed"]
self.devresults = []
self.testresults = []
self.usepytorch = config["usepytorch"]
self.classifier_config = config["classifier"]
self.modelname = get_classif_name(self.classifier_config, self.usepytorch)
self.k = 5 if "kfold" not in config else config["kfold"]
def run(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 14
Instances
Project Name: facebookresearch/SentEval
Commit Name: 79b19e209e757e0aee29d0958aec53c4677e6a4c
Time: 2017-12-26
Author: aconneau@fb.com
File Name: senteval/tools/validation.py
Class Name: InnerKFoldClassifier
Method Name: __init__
Project Name: facebookresearch/SentEval
Commit Name: 79b19e209e757e0aee29d0958aec53c4677e6a4c
Time: 2017-12-26
Author: aconneau@fb.com
File Name: senteval/tools/validation.py
Class Name: KFoldClassifier
Method Name: __init__
Project Name: facebookresearch/SentEval
Commit Name: 79b19e209e757e0aee29d0958aec53c4677e6a4c
Time: 2017-12-26
Author: aconneau@fb.com
File Name: senteval/tools/validation.py
Class Name: SplitClassifier
Method Name: __init__
Project Name: facebookresearch/SentEval
Commit Name: 79b19e209e757e0aee29d0958aec53c4677e6a4c
Time: 2017-12-26
Author: aconneau@fb.com
File Name: senteval/tools/validation.py
Class Name: InnerKFoldClassifier
Method Name: __init__