CART algorithm of matlab 'fitctree' takes account on the attributes order why ?
问题 here is an example mentionning that fitctree of matlab takes into account the features order ! why ? load ionosphere % Contains X and Y variables Mdl = fitctree(X,Y) view(Mdl,'mode','graph'); X1=fliplr(X); Mdl1 = fitctree(X1,Y) view(Mdl1,'mode','graph'); Not the same model, thus not the same classification accuracy despite dealing with the same features ? 回答1: In your example, X contains 34 predictors. The predictors contain no names and fitctree just refers to them by their column numbers x1