Re: "Can't find a permissible class" error

Peter Reutemann <[email protected]> Thu, 4 Jul 2024 11:30:59 +1200
Newsgroups gmane.comp.ai.weka
Message-ID <CAHoQ12K1+JOci_XKoNq9WzW4=-GMieMGX3QD2XU6UUGQKJSRzw@mail.gmail.com>
> I now have the same problem. I am using Weka in my Java program and want
> to classify using RandomForest and I'm setting some options on that
> classifier. However, for some reason Weka internally sets those options
> to RandomForest's base classifier, which is RandomTree, and it doesn't
> know about those options and throws an Exception.
>
> The funny thing is that this only happens when I run my program in a
> docker container, it does not happen when I run it from my IDE. How
> could that be that in some cases the options are set to the base
> classifier internally?
>
> For sure, when I don't set any options on the RandomForest classifier,
> then this problem also does not appear - I can then classify without any
> errors.

Do you use different versions of Java in the Docker image and outside?
What Java version(s) do you use?

Cheers, Peter
_______________________________________________
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