Package org.encog.mathutil.randomize.generate

Examples of org.encog.mathutil.randomize.generate.MersenneTwisterGenerateRandom


  /**
   * Construct a random number generator with a random(current time) seed. If
   * you want to set your own seed, just call "getRandom().setSeed".
   */
  public BasicRandomizer() {
    this.random = new MersenneTwisterGenerateRandom(System.nanoTime());
  }
View Full Code Here


      int seed) {
    List<DataDivision> dataDivisionList = new ArrayList<DataDivision>();
    dataDivisionList.add(new DataDivision(1.0 - validationPercent));// Training
    dataDivisionList.add(new DataDivision(validationPercent));// Validation
    this.dataset.divide(dataDivisionList, shuffle,
        new MersenneTwisterGenerateRandom(seed));
    this.trainingDataset = dataDivisionList.get(0).getDataset();
    this.validationDataset = dataDivisionList.get(1).getDataset();
  }
View Full Code Here

TOP

Related Classes of org.encog.mathutil.randomize.generate.MersenneTwisterGenerateRandom

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.