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

Ulrich Mayring <[email protected]> Thu, 4 Jul 2024 10:26:47 +0200
Newsgroups gmane.comp.ai.weka
Message-ID <[email protected]>
Am 04.07.24 um 01:30 schrieb Peter Reutemann:
>> 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?

I'm using Java 17.0.11 outside of the container and 17.0.2 inside.

_______________________________________________
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