after doing Decision tree i need to know the terminal number of each row like SPSS. in SPSS there is column called terminal node number. like that how can i get the terminal number of the each node
If I understood you correctly you would like to see how many records ended up in a particular leaf or terminal node of a Decision Tree model. You can see it with a Decision Tree View of the Decision Tree Learner or the Decision Tree Predictor nodes (right click -> View: Decision Tree View). You can see the actual number of recorded landed in each node or leaf under Total (both percentage and number).