I would also remove this. This function is currently only implemented in clustering algorithms and I don't think it will go to any supervised algorithms - there is no real interest in predicting on the training data. Also prediction is much faster than testing any way.