TSPINN: Thompson sampling-based adaptive training for physics-informed neural networks | Synapse