test.mulan.learn.traintest
Class TrainTestExperimenterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.mulan.learn.traintest.TrainTestExperimenterTest
All Implemented Interfaces:
junit.framework.Test

public class TrainTestExperimenterTest
extends junit.framework.TestCase


Constructor Summary
TrainTestExperimenterTest()
           
 
Method Summary
static TrainTestExperimenter getMulanTrainTestExperBRk1NN()
           
static TrainTestExperimenter getMulanTrainTestExperBRk1NNById(int trainId, int testId)
          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); }
static TrainTestExperimenter getMulanTrainTestExperById(int trainId, int testId, MulanLearner learner)
           
 void testGetFilteredTestArffRecord()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrainTestExperimenterTest

public TrainTestExperimenterTest()
Method Detail

testGetFilteredTestArffRecord

public void testGetFilteredTestArffRecord()

getMulanTrainTestExperBRk1NN

public static TrainTestExperimenter getMulanTrainTestExperBRk1NN()

getMulanTrainTestExperBRk1NNById

public static TrainTestExperimenter getMulanTrainTestExperBRk1NNById(int trainId,
                                                                     int testId)
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); }


getMulanTrainTestExperById

public static TrainTestExperimenter getMulanTrainTestExperById(int trainId,
                                                               int testId,
                                                               MulanLearner learner)