Adam Chapman wrote:
Thanks again Ethan, It did begin to run nfold.py this time, after I added the environment variable "CLASSPATH" to my system. It threw back a java error, but I guess this isn;t the right place to be asking about thatC:\Users\Adam\Desktop\JBOOST\jboost-2.2\jboost-2.2\scripts>nfold.py -- booster=Adaboost --folds=5 --data=spambase.data --spec=spambase.spec -- rounds=500 --tree=ADD_ALL --generate nfold.py --booster=Adaboost --folds=5 --data=spambase.data -- spec=spambase.spec --rounds=500 --tree=ADD_ALL --generate java.lang.NoClassDefFoundError: jboost/controller/Controller Caused by: java.lang.ClassNotFoundException: jboost.controller.Controller at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main class: jboost.controller.Controller. Program will exit. Exception in thread "main" k: 0 start:0 end:920
Looking at the batch file I see a line that modifies the CLASSPATH, so try this before you run nfold.py (cut across two lines, but it's really just one): set CLASSPATH= %CLASSPATH%;../dist/jboost.jar;../lib/jfreechart-1.0.10.jar;../lib/jcommon-1.0.8.jar
Good luck! ~Ethan~ -- http://mail.python.org/mailman/listinfo/python-list
