Data-driven model for divertor plasma detachment prediction