8417b59f8706b1b9d5db8cac166f0e1442cf51c0,python/quality_runner.py,VmafQualityRunner,_run_on_asset,#VmafQualityRunner#Any#,264
Before Change
xs = TrainTestModel.get_perframe_xs_from_result(feature_result)
model_filepath = self.optional_dict["model_filepath"] \
if (self.optional_dict is not None
and "model_filepath" in self.optional_dict
and self.optional_dict["model_filepath"] is not None
) \
else self.DEFAULT_MODEL_FILEPATH
model = TrainTestModel.from_file(model_filepath, self.logger)
ys_pred = model.predict(xs)
After Change
xs = TrainTestModel.get_perframe_xs_from_result(feature_result)
model = self._load_model()
ys_pred = model.predict(xs)
result_dict = {}
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: Netflix/vmaf
Commit Name: 8417b59f8706b1b9d5db8cac166f0e1442cf51c0
Time: 2016-02-28
Author: zli@netflix.com
File Name: python/quality_runner.py
Class Name: VmafQualityRunner
Method Name: _run_on_asset
Project Name: mlflow/mlflow
Commit Name: 18bdc211b96e08c0dc2226c7fc02edb1062f7d6c
Time: 2018-09-13
Author: 33237569+tomasatdatabricks@users.noreply.github.com
File Name: mlflow/spark.py
Class Name:
Method Name: load_model
Project Name: mlflow/mlflow
Commit Name: 1b501a97efb6d793c8106170bd2068e5162e2f93
Time: 2019-05-07
Author: 39497902+dbczumar@users.noreply.github.com
File Name: mlflow/sklearn.py
Class Name:
Method Name: load_model
Project Name: Netflix/vmaf
Commit Name: 8417b59f8706b1b9d5db8cac166f0e1442cf51c0
Time: 2016-02-28
Author: zli@netflix.com
File Name: python/quality_runner.py
Class Name: VmafQualityRunner
Method Name: _get_vmaf_feature_assembler_instance