19a680ec1c3b3a7928649a7b389b7c16965edf1e,batchflow/pipeline.py,Pipeline,predict_model,#Pipeline#Any#,768

Before Change


            predict_data = batch.make_deepnet_data(model=deepnet_model)
            deepnet_model.predict(**predict_data)
        
        self._action_list.append({"name": PREDICT_MODEL_ID, "model_name": name, "make_data": make_data,
                                  "save_to": save_to, "mode": mode})
        return self.append_action(*args, **kwargs)

    def _make_model_args(self, batch, action, model):
        make_data = action["make_data"] or {}
        args = action["args"]

After Change


            predict_data = batch.make_deepnet_data(model=deepnet_model)
            deepnet_model.predict(**predict_data)
        
        return self.append_action(PREDICT_MODEL_ID, *args, model_name=name, make_data=make_data,
                                  save_to=save_to, mode=mode, **kwargs)

    def _make_model_args(self, batch, action, model):
        make_data = action["make_data"] or {}
        args = action["args"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: analysiscenter/batchflow
Commit Name: 19a680ec1c3b3a7928649a7b389b7c16965edf1e
Time: 2019-04-23
Author: rhudor@gmail.com
File Name: batchflow/pipeline.py
Class Name: Pipeline
Method Name: predict_model


Project Name: analysiscenter/batchflow
Commit Name: 19a680ec1c3b3a7928649a7b389b7c16965edf1e
Time: 2019-04-23
Author: rhudor@gmail.com
File Name: batchflow/pipeline.py
Class Name: Pipeline
Method Name: predict_model


Project Name: analysiscenter/batchflow
Commit Name: 19a680ec1c3b3a7928649a7b389b7c16965edf1e
Time: 2019-04-23
Author: rhudor@gmail.com
File Name: batchflow/pipeline.py
Class Name: Pipeline
Method Name: train_model


Project Name: analysiscenter/batchflow
Commit Name: 19a680ec1c3b3a7928649a7b389b7c16965edf1e
Time: 2019-04-23
Author: rhudor@gmail.com
File Name: batchflow/pipeline.py
Class Name: Pipeline
Method Name: merge