InacessibleObjectException
[email protected] Tue, 22 Aug 2023 12:33:44 -0000
| Newsgroups | gmane.comp.ai.weka |
|---|---|
| Message-ID | <169270762428.2650.18210158712350742114@sys-mailman-prd.its.waikato.ac.nz> |
Hello everyone,
I have the following code:
double[] evaluateGainRatio(Instances data) throws Exception{
double[] gainRatios = new double[data.numAttributes()];
for (int i = 0; i < data.numAttributes(); i++) {
GainRatioAttributeEval gainRatioAttributeEval = new GainRatioAttributeEval();
gainRatioAttributeEval.buildEvaluator(data);
gainRatios[i] = gainRatioAttributeEval.evaluateAttribute(i);
}
return gainRatios;
}
and the buildEvaluator method, throws an InaccessibleObjectException!
Could you please help?
Thank you for your time,
Spyros Halkidis
_______________________________________________
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