Last commit for README.txt: 028d9c729079b55fb710014109de7a3bf6fc74ae

new files

cmurphy [2008-12-12 15:21:31]
new files
  1. Tutorial to run Amsterdam
  3. Either open folder "AppMetaTestingFramework" in NetBeans and fix all the referencing error (all the libraries are stored as .jar files in /lib directory), or compile the java files under /src folder with a classpath parameter of ".\lib\JSAP-2.1.jar;.\lib\jdom.jar;.\lib\weka.jar;."
  5. In NetBeans, running options are setup already, simply right click project name in navigator and select run. To run from console, after compiling all the .java files, run SimpleParser .class file with the classpath specified above.
  7. E.g. from console
  8. java -cp .\lib\JSAP-2.1.jar;.\lib\jdom.jar;.\lib\weka.jar;. SimpleParser "naivebayestest.xml"
  9. or
  10. java -cp .\lib\JSAP-2.1.jar;.\lib\jdom.jar;.\lib\weka.jar;. SimpleParser "simpleTest"
  11. or
  12. replace the last substring to the name of any test descriptor file you've written.
  15. It takes one single argument about the file path (relative path) you want to parse. If the file passing in is an XML file, it will take MetaDescriptorParser to parse it, otherwise it will see it as a test descriptor in simplified syntax, and transform it to an XML first then parse it to generate the .java test file.
  17. Upon finishing, a test file is generated under /test directory, the test file name is the same as your test descriptor file name, only in .java extension. Compile it with classpath ".\lib\JSAP-2.1.jar;.\lib\jdom.jar;.\lib\weka.jar;." then run it (no argument needed). It will print out the test progress and result to STDOUT (System.out).
  21. permute: e.g. permute(input1)
  22. inverse: e.g. inverse(input1)
  23. negate:
  24. e.g. negate(input1, "attr", 3) -- meaning negate the value of the third attribute for all instances, negate(input2, "inst", 20) -- negate the value of all the attributes for the 20th instance
  25. The second string parameter can be "attr" for attribute, or "inst" for instance. Use extreme caution when using "negate" function, as negating non-numeric values like nominal, String, character will cause error.