For just a little more context here’s part of my runIOThroughNupic() function:
modelInput = {
“vector”: (vector,radius)
}result = model.run(modelInput) if counter % 100 == 0: print ("Read %i lines..." % counter) if plot: result = shifter.shift(result) #prediction = result.inferences["multiStepBestPredictions"][1] anomalyScore = result.inferences["anomalyScore"] output.write('_____', y_response, '_____', anomalyScore) #[timestamp]
As you can see I commented out the 'prediction = ’ line, since I know we can only get anomaly scores and not predictions. In this case the vector is something like [5,7] and the radius something like 2. Any hunches?