Set index.y in decision tree