Last commit for naivebayestest.xml: 028d9c729079b55fb710014109de7a3bf6fc74ae

new files

cmurphy [2008-12-12 15:21:31]
new files
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3.  
  4. <TESTDESCRIPTOR>
  5. <EXECUTION>java -cp .\lib\JSAP-2.1.jar;.\lib\jdom.jar;.\lib\weka.jar;. NaiveBayesUpdatableTest @param</EXECUTION>
  6. <PARAMETERS>-t "trainingData.arff" -l "testingData.arff" -d "outputData.arff"</PARAMETERS>
  7.  
  8. <INPUT>
  9. <VAR TYPE="ARFF_FILENAME">@param[2]</VAR>
  10. <VAR TYPE="ARFF_FILENAME">@param[4]</VAR>
  11. </INPUT>
  12.  
  13. <OUTPUT>
  14. <VAR TYPE="ARFF_FILENAME">@param[6]</VAR>
  15. </OUTPUT>
  16.  
  17. <PRE>
  18. <PROPERTY>
  19. <ASSERT>@op_numAttributes(@input.var(1)) == @op_numAttributes(@output.var(1))</ASSERT>
  20. </PROPERTY>
  21. <PROPERTY>
  22. <ASSERT>@op_numInstances(@input.var(1)) == @op_numInstances(input.var(2)) / 2</ASSERT>
  23. </PROPERTY>
  24. </PRE>
  25.  
  26. <POST>
  27. <BRANCH OPTION="main" />
  28. <BRANCH OPTION="sequantial"> @op_permute(@input.var(1)); </BRANCH>
  29. <BRANCH OPTION="sequantial"> @op_inverse(@input.var(2)); </BRANCH>
  30. <PROPERTY> <ASSERT>@equal( @branch1, @branch2)</ASSERT></PROPERTY>
  31. <PROPERTY>
  32. <OP>@op_inverse( @branch3.var(1))</OP>
  33. <ASSERT>@equal( @branch1, @branch3 )</ASSERT>
  34. </PROPERTY>
  35. </POST>
  36.  
  37. </TESTDESCRIPTOR>
  38.  
  39.