Skip to content
Snippets Groups Projects
Commit 1bb1f5f8 authored by Nikolai's avatar Nikolai
Browse files

Remove unnescessary call to scaler

parent 72aeb7c1
No related branches found
No related tags found
No related merge requests found
......@@ -263,8 +263,6 @@ class KerasROOTClassification:
if not self.data_loaded:
self._load_data()
self.scaler
if not self.data_transformed:
self._transform_data()
......@@ -289,14 +287,14 @@ class KerasROOTClassification:
class_weight=self.class_weight,
shuffle=True,
batch_size=self.batch_size)
logger.info("Save weights")
self.model.save_weights(os.path.join(self.project_dir, "weights.h5"))
self.total_epochs += epochs
self._write_info("epochs", self.total_epochs)
logger.info("Create scores for ROC curve")
logger.info("Create scores for ROC curve")
self.scores_test = self.model.predict(self.x_test)
self.scores_train = self.model.predict(self.x_train)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment