Real time estimation and prediction of similarity in human activity using factor oracle algorithm