Permalink
Browse files

Remove scaler from NNController

  • Loading branch information...
1 parent 2126150 commit d78a6617ebfd935d7caa4d2d73ebc384f9c8e12d @charmasaur charmasaur committed Dec 2, 2016
Showing with 1 addition and 3 deletions.
  1. +1 −3 mloop/learners.py
View
@@ -1583,8 +1583,6 @@ def __init__(self,
self.search_diff = self.search_max - self.search_min
self.search_region = list(zip(self.search_min, self.search_max))
- self.cost_scaler = skp.StandardScaler()
-
self.length_scale = 1
self.cost_has_noise = True
self.noise_level = 1
@@ -1861,7 +1859,7 @@ def find_global_minima(self):
self.predicted_best_parameters = curr_best_params
self.predicted_best_scaled_cost = curr_best_cost
- self.predicted_best_cost = self.cost_scaler.inverse_transform(self.predicted_best_scaled_cost)
+ self.predicted_best_cost = self.predicted_best_scaled_cost
self.archive_dict.update({'predicted_best_parameters':self.predicted_best_parameters,
'predicted_best_scaled_cost':self.predicted_best_scaled_cost,

0 comments on commit d78a661

Please sign in to comment.