org.encog.ml.data.versatile.division
public class DataDivision extends Object
Constructor and Description |
---|
DataDivision(double thePercent)
Construct a division.
|
Modifier and Type | Method and Description |
---|---|
void |
allocateMask(int theSize)
Allocat space to hold the mask.
|
int |
getCount() |
MatrixMLDataSet |
getDataset() |
int[] |
getMask() |
double |
getPercent() |
void |
setCount(int count) |
void |
setDataset(MatrixMLDataSet dataset) |
public DataDivision(double thePercent)
thePercent
- The desired percentage in this division.public int getCount()
public void setCount(int count)
count
- the count to setpublic MatrixMLDataSet getDataset()
public void setDataset(MatrixMLDataSet dataset)
dataset
- the dataset to setpublic double getPercent()
public void allocateMask(int theSize)
theSize
- The mask size.public int[] getMask()
Copyright © 2014. All Rights Reserved.