Update class var after every new predictor is received.
Merge pull request #163 from lanzagar/predictions-class

Update class var after every new predictor is received.