a412b2aeef65855ce2554292906bdf684b8d9509,python/src/vmaf/core/train_test_model.py,TrainTestModel,from_file,#Any#Any#Any#Any#,338

Before Change



        if model_type == LibsvmNusvrTrainTestModel.TYPE:
            train_test_model = LibsvmNusvrTrainTestModel(
                param_dict={}, logger=logger, optional_dict2=optional_dict2)
            train_test_model.param_dict = info_loaded["param_dict"]
            train_test_model.model_dict = info_loaded["model_dict"]

After Change


        train_test_model.param_dict = info_loaded["param_dict"]
        train_test_model.model_dict = info_loaded["model_dict"]

        if issubclass(model_class, LibsvmNusvrTrainTestModel):
            // == special handling of libsvmnusvr: load .model differently ==
            model = svmutil.svm_load_model(filename + ".model")
            train_test_model.model_dict["model"] = model

        return train_test_model

    def train(self, xys):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Netflix/vmaf
Commit Name: a412b2aeef65855ce2554292906bdf684b8d9509
Time: 2018-02-19
Author: zli@netflix.com
File Name: python/src/vmaf/core/train_test_model.py
Class Name: TrainTestModel
Method Name: from_file


Project Name: markovmodel/PyEMMA
Commit Name: 4a8d4b647b79b5d0cea572d5951395bf98ba97c8
Time: 2017-11-28
Author: m.scherer@fu-berlin.de
File Name: pyemma/_base/serialization/serialization.py
Class Name: SerializableMixIn
Method Name: __getstate__


Project Name: Scitator/catalyst
Commit Name: 535ca090eb4d780169494c1c17eaaba8005bcecc
Time: 2019-04-14
Author: scitator@gmail.com
File Name: catalyst/rl/offpolicy/exploration/exploration.py
Class Name: ExplorationHandler
Method Name: __init__