Last commit for naivebayestest2.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 NaiveBayes @param</EXECUTION>
  6. <PARAMETERS>-t "trainingData.arff" -l "jdbc:mysql://localhost:3306/voynich" -q "select * from Candidate" -d "outputData.arff"</PARAMETERS>
  7.  
  8. <INPUT>
  9. <VAR TYPE="ARFF_FILENAME">@param[2]</VAR>
  10. <VAR TYPE="JDBC_RESULTSET">@getResultSet(@param[4], @param[6])</VAR>
  11. </INPUT>
  12.  
  13. <OUTPUT>
  14. <VAR TYPE="ARFF_FILENAME">@param[8]</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_negate( @input.var(1), "attr_4" ); </BRANCH>
  30. <PROPERTY>
  31. <ASSERT>@equal( @branch1, @branch2)</ASSERT>
  32. </PROPERTY>
  33. <PROPERTY>
  34. <OP>@op_negate( @branch2.var(1), "attr_4" )</OP>
  35. <ASSERT>@equal( @branch1, @branch2 )</ASSERT>
  36. </PROPERTY>
  37. </POST>
  38.  
  39. </TESTDESCRIPTOR>
  40.  
  41.