def predict(self,function,args):
param = self.model.param_array<EOL>fs = []<EOL>for p in self.chain:<EOL><INDENT>self.model.param_array = p<EOL>fs.append(function(*args))<EOL><DEDENT>self.model.param_array = param<EOL>return fs<EOL>
Make a prediction for the function, to which we will pass the additional arguments