A semi-supervised machine learning detector for physics events in tokamak discharges