State Dependent Learning