From 3a46a17c7c0305089d4b5c6cf8c091ea304cc9de Mon Sep 17 00:00:00 2001 From: Harry Slatyer Date: Sun, 4 Dec 2016 10:03:36 +1100 Subject: [PATCH] Dumb implementation of predict_costs array version --- mloop/learners.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mloop/learners.py b/mloop/learners.py index f5169a4..01c8ea1 100644 --- a/mloop/learners.py +++ b/mloop/learners.py @@ -1703,8 +1703,8 @@ def predict_costs_from_param_array(self,params): Returns: float : Predicted cost at paramters ''' -# TODO - return [] + # TODO: Can do this more efficiently. + return [self.predict_cost(param) for param in params] def wait_for_new_params_event(self):