Bug fix to account for state space

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

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

Loading…
Cancel
Save