PREDIT: A Temporal predictive framework for opportunistic scheduling systems