A Framework for Incentivized Collaborative Learning