Learning And Decision-Making In Active Cognition