Category Archives: Tree-based Learners

Comparing multivariate tree algorithms

Note that this is an old post from 2012-05-24 moved to new site.

Comparing multivariate tree algorithms

This entry explains how to run the multivariate tree algorithms CRUISE, QUEST and LOTUS (two versions) through command line using MATLAB.

For our paper, “SMT: Sparse Multivariate Tree”, we had to run CRUISE, QUEST, LOTUS(S) and LOTUS(M) for comparison purposes (based on v-fold crossvalidation on the training data). All three methods are also multivariate trees as SMT. Please find the details of the algorithms on:

To run CRUISE, QUEST and LOTUS on the datasets in SMT paper, please follow the steps below (for windows environement):

  1. Download the zipped folder that contains all required files by clicking here (this contains “Windows executable for Intel and compatibles” from the websites above)
  2. Extract the zip file wherever you want.
  3. The folder contains 4 batch files (*.bat) for running CRUISE, QUEST, LOTUS(S) and LOTUS(M) using the command line. In each batch file, there are three commands: (example is for “quest_batchfile.bat”)
                 cd C:\mustafa\ogrencilik\ASU\PHD\sparseMultivariateTrees\batch —> change the address based on the location you extract the zipped file
                 cruise < cruise_batch   —> run cruise algorithm with the settings in the cruise_batch file      
                 exit —–> exit command line
     
    Make the changes for each batch file (There are 4 of them)
  4. If required, make the changes to parameter settings in the file named “methodname”_batch (i.e. cruise_batch). Current settings are the default settings.
  5. There is a subfolder named “data” in which you provide your training data. Your data should be formatted in a certain way. Class information (dependent) should be provided in the first column, rest will be the features (predictors).
  6. In the subfolder named “data”, there is a MATLAB script file named “Main.m”. Open it in MATLAB editor. Change the location information for the batch files (where you unpack the zip file) accordingly, which is in 9th line. Change other parameters such as number of folds, number of replications if required.
  7. Run “Main.m” in the subfolder “data”, MATLAB may ask you if there is a need to change the folder. Change it if prompted.