79b19e209e757e0aee29d0958aec53c4677e6a4c,senteval/tools/validation.py,KFoldClassifier,__init__,#KFoldClassifier#Any#Any#Any#,118

Before Change


        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"]

    def run(self):

After Change


        self.nclasses = config["nclasses"]
        self.seed = config["seed"]
        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):
Italian Trulli
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: 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__


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__