Reinforcement learning-driven optimization method for adaptive data hierarchical classification strategy | Synapse