Package weka.filters.unsupervised.instance

Examples of weka.filters.unsupervised.instance.Resample


    boolean    finished;
    PointDouble    result;
    PointDouble    resultOld;
    int      iteration;
    Instances    sample;
    Resample    resample;

    log("Step 1:\n");

    // generate sample?
    if (getSampleSizePercent() == 100) {
      sample = m_Data;
    }
    else {
      log("Generating sample (" + getSampleSizePercent() + "%)");
      resample = new Resample();
      resample.setRandomSeed(getSeed());
      resample.setSampleSizePercent(getSampleSizePercent());
      resample.setInputFormat(m_Data);
      sample = Filter.useFilter(m_Data, resample);
    }
   
    finished                  = false;
    iteration                 = 0;
View Full Code Here


    boolean    finished;
    PointDouble    result;
    PointDouble    resultOld;
    int      iteration;
    Instances    sample;
    Resample    resample;

    log("Step 1:\n");

    // generate sample?
    if (getSampleSizePercent() == 100) {
      sample = m_Data;
    }
    else {
      log("Generating sample (" + getSampleSizePercent() + "%)");
      resample = new Resample();
      resample.setRandomSeed(getSeed());
      resample.setSampleSizePercent(getSampleSizePercent());
      resample.setInputFormat(m_Data);
      sample = Filter.useFilter(m_Data, resample);
    }
   
    finished                  = false;
    iteration                 = 0;
View Full Code Here

TOP

Related Classes of weka.filters.unsupervised.instance.Resample

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.