rid function

robust interaction detector(RID) model