result /= (double)inst1.numAttributes();
  private double kernel(Instance inst1, Instance inst2) throws Exception {        double result = 0;    int classIndex = m_data.classIndex();        for (int i = 0; i < inst1.numAttributes(); i++) {      if (i != classIndex) {	result += inst1.value(i) * inst2.value(i);      }    }    result += 1;        if (m_exponent != 1.0) {      result = Math.pow(result, m_exponent);    }    return result;  }