Skip to content
Snippets Groups Projects
Commit 9879ac31 authored by Nikolai.Hartmann's avatar Nikolai.Hartmann
Browse files

Shuffle *training* data, also for scores

parent f0d5dd54
No related branches found
No related tags found
No related merge requests found
......@@ -490,9 +490,9 @@ class KerasROOTClassification(object):
np.random.shuffle(self.y_train)
np.random.set_state(rn_state)
np.random.shuffle(self.w_train)
if self._scores_test is not None:
if self._scores_train is not None:
np.random.set_state(rn_state)
np.random.shuffle(self._scores_test)
np.random.shuffle(self._scores_train)
def train(self, epochs=10):
......
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