public static int getFirstFilteredTestArff() { ArffPropsTableReader
reader = ArffPropsTableReaderTest.getReader1(); // return the first arff
having different identifiers as "old test id" // and
"id the attributes were taken from (train set)"
// return the first arff id containing "test" in its pathname return
reader.getIdByArffPath("_with_attr_of_"); }
public static int getFirstFilteredTrainArff() { ArffPropsTableReader
reader = ArffPropsTableReaderTest.getReader1(); // return the first arff
having different identifiers as "old test id" // and
"id the attributes were taken from (train set)"
// return the first arff id containing "test" in its pathname return
reader.getIdByArffPath("_with_attr_of_"); }
For each evaluation measure, gets the corresponding table field The field
name is the evaluation measure name, all lower-case, with spaces and
dashes substituted with underscores.
public static TrainTestExperimenter
getFirstMulanTrainTestExpMLk1NNFromDb() { // train arff should have
pattern "trainset_" // the testset has pattern "testset_" // the test set
is filtered by the training set to generate a file // called: //
testset_x_filteredby_trainset_y
int trainId = MulanArffGeneratorTest.getFirstTrainArff(); int testId =
MulanArffGeneratorTest.getFirstTestArff(); return
TrainTestExperimenterTest.getMulanTrainTestExperMLk1NNById( trainId,
testId);
}