/** * Evaluates an attribute * * @param attribute the attribute index * @return the evaluation * @throws Exception */ @Override public double evaluateAttribute(int attribute) throws Exception { return ((AttributeEvaluator) baseAttributeEvaluator).evaluateAttribute(attribute); }
public double score(int attribute) { try { scoring = attreval.evaluateAttribute(attribute); } catch (Exception ex) { Logger.getLogger(WekaAttributeSelection.class.getName()).log( Level.SEVERE, null, ex); } return scoring; }
/** * Evaluates an attribute * * @param attribute the attribute index * @return the evaluation * @throws Exception */ @Override public double evaluateAttribute(int attribute) throws Exception { return ((AttributeEvaluator) baseAttributeEvaluator).evaluateAttribute(attribute); }
evaluations[i][j] = ((AttributeEvaluator) ase).evaluateAttribute(j);
for (Attribute att : mulanInstances.getFeatureAttributes()) { evalFile.append(att.name() + ": " + attributeSelectionFilter .evaluateAttribute(att.index() - mulanInstances.getNumLabels()) + "\n");
for (Attribute att : mulanInstances.getFeatureAttributes()) { evalFile.append(att.name() + ": " + attributeSelectionFilter .evaluateAttribute(att.index() - mulanInstances.getNumLabels()) + "\n");
evalFile.append(att.name() + ": " + attributeSelectionFilter.evaluateAttribute(att.index() - mulanInstances.getNumLabels()) + "\n");
m_attributeMerit[i] = ASEvaluator.evaluateAttribute(m_attributeList[i]);
m_attributeMerit[i] = ASEvaluator.evaluateAttribute(m_attributeList[i]);