online learning framework