/**
   * generates copies of the original datasets and also builds a relation (hashtable) between each
   * original instance and new instance. This is necessary to retrieve the determined class value in
   * the <code>getDistribution(Instance)</code> method.
   *
   * @see #getDistribution(Instance)
   * @throws Exception if anything goes wrong
   */
  protected void generateSets() throws Exception {
    super.generateSets();

    m_TrainsetNew = new Instances(m_Trainset);
    m_TestsetNew = new Instances(m_Testset);
  }