I have written a user written splitting function recently, but I do not know how to use my splitting criteria to predict the test data. If I use the function ‘predict’, there will return an error message, please give me some helpful advice.