Learning transitions