Humans use directed and random exploration to solve the explore–exploit dilemma. · Study