Re: errors trying to run autoweka from a Eclipse project
Felix Mohr <[email protected]>
| Newsgroups | gmane.comp.ai.weka |
|---|---|
| Message-ID | <[email protected]> |
Hi, which Java version are you running? Everything above Java 8 causes trouble. I had the same exception you got. Just changing the JRE from 11 to 8 did the trick. And as always, let me recommend to you ML-Plan (mlplan.org), which is a much better optimizer for WEKA than is auto-weka. Especially it has a much more efficient parallelization. Best, Felix On 15.06.21 01:18, Bob Matthews wrote: > > Hi > > I have an Eclipse project which was downloaded from GitHub > > It utilizes weka and in particular autoweka > > When I run the main java program everything goes smoothly until > 'autoweka' is called > > The following error messages are printed out on the console:- > > 2021-06-14 20:11:51.907 [main] WARN Util - Could not auto-detect the > location of your Auto-WEKA install - have you moved the classes away > from the 'params' diectory? > 2021-06-14 20:11:51.909 [main] WARN ExperimentConstructor - No > property file > .\autoweka.smac.SMACExperimentConstructor.properties.properties found > java.lang.RuntimeException: .*\params\attribselection\eval\ is not a > valid directory* > at > autoweka.ApplicabilityTester.getApplicable(ApplicabilityTester.java:107) > at > autoweka.ApplicabilityTester.getApplicableAttributeEvaluators(ApplicabilityTester.java:87) > at > autoweka.ExperimentConstructor.loadAttributeSelectors(ExperimentConstructor.java:320) > at autoweka.ExperimentConstructor.run(ExperimentConstructor.java:205) > at > autoweka.ExperimentConstructor.buildSingle(ExperimentConstructor.java:158) > at misc.myAutoWeka.buildClassifier(myAutoWeka.java:347) > at dc.ga.PreProcess.autoClassifyTraining(PreProcess.java:657) > at dc.ga.PreProcess.runAutoWeka(PreProcess.java:1744) > at misc.SymbolicRegression.<init>(SymbolicRegression.java:697) > at misc.SymbolicRegression.main(SymbolicRegression.java:3158) > An error occured > > The odd thing is that the "params" folder is under the "lib" folder as > is autoweka.jar so I am confused as to why I am getting this error > regarding valid directories > > Any help appreciated > > Bob M > > > _______________________________________________ > Wekalist mailing list -- [email protected] > Send posts to [email protected] > To unsubscribe send an email to [email protected] > To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz > List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html _______________________________________________ Wekalist mailing list -- [email protected] Send posts to [email protected] To unsubscribe send an email to [email protected] To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html