Assessing learning processes with the gain-loss model