Reinforcement Learning of Dimensional Attention for Categorization