Lifelong Learning with Weighted Majority Votes