Category Learning via Feature Switching