Fix & match online prediction algorithm to the offline version
Fix & match online prediction algorithm to the offline version

dashersw/brain-bits,dashersw/brain-bits,dashersw/brain-bits,dashersw/brain-bits,dashersw/brain-bits