Package org.encog.ml.data.versatile

Examples of org.encog.ml.data.versatile.MatrixMLDataSet


   * @param idealCount The ideal count.
   */
  private void createDividedDatasets(List<DataDivision> dataDivisionList,
      VersatileMLDataSet parentDataset, int inputCount, int idealCount) {
    for (DataDivision division : dataDivisionList) {
      MatrixMLDataSet dataset = new MatrixMLDataSet(parentDataset.getData(), inputCount,
          idealCount, division.getMask());
      dataset.setLagWindowSize(parentDataset.getLagWindowSize());
      dataset.setLeadWindowSize(parentDataset.getLeadWindowSize());
      division.setDataset(dataset);
    }
  }
View Full Code Here


          trainingIndex+=source.length;
        }
       
      }
      // Build the set
      MatrixMLDataSet training = new MatrixMLDataSet(this.baseDataset,trainingMask);
      MatrixMLDataSet validation = new MatrixMLDataSet(this.baseDataset,validationMask);
      this.folds.add(new DataFold(training,validation));
    }
  }
View Full Code Here

TOP

Related Classes of org.encog.ml.data.versatile.MatrixMLDataSet

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.