Unraveling Cognitive Processes Driving The Development Of Optimized Category Learning And Decision-Making