Permalink
Browse files
Dumb implementation of predict_costs array version
- Loading branch information...
Showing
with
2 additions
and
2 deletions.
-
+2
−2
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):
|
|
|
|
0 comments on commit
3a46a17