org.encog.ml.data.cross

## Class KFoldCrossvalidation

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

-     public class KFoldCrossvalidation
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `KFoldCrossvalidation(MatrixMLDataSet theBaseDataset, int theK)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `MatrixMLDataSet` | `getBaseDataset()`
    `List<DataFold>` | `getFolds()`
    `int` | `getK()`
    `GenerateRandom` | `getRnd()`
    `void` | `process(boolean shuffle)`
    `void` | `setRnd(GenerateRandom rnd)`

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

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

- - ### Constructor Detail

    - #### KFoldCrossvalidation

          public KFoldCrossvalidation(MatrixMLDataSet theBaseDataset,
                              int theK)

  - ### Method Detail

    - #### getRnd

          public GenerateRandom getRnd()

      Returns:
        the rnd

    - #### setRnd

          public void setRnd(GenerateRandom rnd)

      Parameters:
        `rnd` - the rnd to set

    - #### getBaseDataset

          public MatrixMLDataSet getBaseDataset()

      Returns:
        the baseDataset

    - #### getK

          public int getK()

      Returns:
        the k

    - #### getFolds

          public List<DataFold> getFolds()

      Returns:
        the folds

    - #### process

          public void process(boolean shuffle)

Copyright © 2014. All Rights Reserved.