Permalink
Browse files

Dumb implementation of predict_costs array version

  • Loading branch information...
1 parent be3c8a5 commit 3a46a17c7c0305089d4b5c6cf8c091ea304cc9de @charmasaur charmasaur committed Dec 3, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 mloop/learners.py
View
@@ -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):

0 comments on commit 3a46a17

Please sign in to comment.