docs: public double[] getVotesForInstance(Instance instance) {
          //public int clusterInstance(Instance instance) {//throws Exception {
          CNode host = m_cobwebTree;
          CNode temp = null;
  
          determineNumberOfClusters();
  
          if (this.m_numberOfClusters < 1) {
              return (new double[0]);
          }
          double[] ret = new double[this.m_numberOfClusters];
  
          do {
              if (host.m_children == null) {
                  temp = null;
                  break;
              }
  
              host.updateStats(instance, false);
              temp = host.findHost(instance, true);
              host.updateStats(instance, true);
  
              if (temp != null) {
                  host = temp;
              }
          } while (temp != null);
  
          ret[host.m_clusterNum] = 1.0;
          return ret;
      }