% below are the load commands for different databases % depending on which database you would like to be processed % just uncomment the related lines allMyDatasets = {'adamData/albrecht','adamData/coc81','adamData/desharnais','adamData/isbsg-clientserver','adamData/isbsg-standalone','adamData/maxwell','adamData/nasa93'}; for datasetCounter = 1:7 eval(['load ',char(allMyDatasets(datasetCounter)),'.dat;']); eval(['dataset = ',char(allMyDatasets(datasetCounter)),';']); eval(['clear ',char(allMyDatasets(datasetCounter)),';']); % train is the dataset minus the selected row train = dataset; % now start predictions % the one below -treeK- is our guy to defend [myTree, myRoot] = simpleGACGenerator(train); % prune high variance sub-trees and store the instances in low variance % sub-trees [cleanedSelectedInstances] = gacPruner(tree, startPoint) % save instances eval(['csvwrite(adamData\',char(allMyDatasets(datasetCounter)),');']); end