org.encog.ml.data.cross

## Class DataFold

- java.lang.Object
- - org.encog.ml.data.cross.DataFold

-     public class DataFold
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DataFold(MatrixMLDataSet theTraining, MatrixMLDataSet theValidation)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `MLMethod` | `getMethod()`
    `double` | `getScore()`
    `MatrixMLDataSet` | `getTraining()`
    `MatrixMLDataSet` | `getValidation()`
    `void` | `setMethod(MLMethod method)`
    `void` | `setScore(double score)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DataFold

          public DataFold(MatrixMLDataSet theTraining,
                  MatrixMLDataSet theValidation)

  - ### Method Detail

    - #### getScore

          public double getScore()

      Returns:
        the score

    - #### setScore

          public void setScore(double score)

      Parameters:
        `score` - the score to set

    - #### getTraining

          public MatrixMLDataSet getTraining()

      Returns:
        the training

    - #### getValidation

          public MatrixMLDataSet getValidation()

      Returns:
        the validation

    - #### getMethod

          public MLMethod getMethod()

      Returns:
        the method

    - #### setMethod

          public void setMethod(MLMethod method)

      Parameters:
        `method` - the method to set

Copyright © 2014. All Rights Reserved.