org.encog.ml.data.versatile

## Class DataDivision

- java.lang.Object
- - org.encog.ml.data.versatile.DataDivision

-     public class DataDivision
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DataDivision(double thePercent)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `allocateMask(int theSize)`
    `int` | `getCount()`
    `MatrixMLDataSet` | `getDataset()`
    `int[]` | `getMask()`
    `double` | `getPercent()`
    `void` | `setCount(int count)`
    `void` | `setDataset(MatrixMLDataSet dataset)`

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

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

- - ### Constructor Detail

    - #### DataDivision

          public DataDivision(double thePercent)

  - ### Method Detail

    - #### getCount

          public int getCount()

      Returns:
        the count

    - #### setCount

          public void setCount(int count)

      Parameters:
        `count` - the count to set

    - #### getDataset

          public MatrixMLDataSet getDataset()

      Returns:
        the dataset

    - #### setDataset

          public void setDataset(MatrixMLDataSet dataset)

      Parameters:
        `dataset` - the dataset to set

    - #### getPercent

          public double getPercent()

      Returns:
        the percent

    - #### allocateMask

          public void allocateMask(int theSize)

    - #### getMask

          public int[] getMask()

      Returns:
        the mask

Copyright © 2014. All Rights Reserved.