triTraining function

General Interface for Tri-training model