if(errors==null) //if errors==null, rule has seen no predictions since expansion: return maximum error, since prediction is not reliable errors=defaultRuleErrors(vote); debug("Rule No"+ rule.getRuleNumberID() + " Vote: " + vote.toString() + " Error: " + errors + " Y: " + instance.classValue(),3); //predictionValueForThisRule); errorWeightedVote.addVote(vote,errors); debug("Default Rule Vote " + defaultVote.toString() + "\n Error " + defaultErrors + " Y: " + instance,3);
if(errors==null) //if errors==null, rule has seen no predictions since expansion: return maximum error, since prediction is not reliable errors=defaultRuleErrors(vote); debug("Rule No"+ rule.getRuleNumberID() + " Vote: " + vote.toString() + " Error: " + errors + " Y: " + instance.classValue(),3); //predictionValueForThisRule); errorWeightedVote.addVote(vote,errors); debug("Default Rule Vote " + defaultVote.toString() + "\n Error " + defaultErrors + " Y: " + instance,3);