Text this: Safe and Robust Binary Classification and Fault Detection Using Reinforcement Learning