Bug fix to account for state space

master
Steve L. Nyemba 8 years ago
parent 85e3c7f6df
commit 6e81c34a29

@ -53,9 +53,10 @@ def procs(id):
data = gReader.read() data = gReader.read()
ahandler = AnalyzeAnomaly() ahandler = AnalyzeAnomaly()
learn = {} learn = {}
for row in data['learn'] : if 'learn' in data :
label = row['label'] for row in data['learn'] :
learn[label] = row label = row['label']
learn[label] = row
r = {} r = {}
for label in data : for label in data :
if label not in ['learn','folders'] : if label not in ['learn','folders'] :

Loading…
Cancel
Save