net.sourceforge.cilib.neuralnetwork.generic.datacontainers
Class CrossValidationStrategy
java.lang.Object
net.sourceforge.cilib.neuralnetwork.generic.datacontainers.CrossValidationStrategy
- All Implemented Interfaces:
- DataDistributionStrategy
public class CrossValidationStrategy
- extends Object
- implements DataDistributionStrategy
TODO: Complete this javadoc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inputReader
protected BufferedReader inputReader
file
protected String file
shuffleRandomizer
protected Random shuffleRandomizer
noInputs
protected int noInputs
k
protected int k
kOffset
protected int kOffset
percentTrain
protected int percentTrain
percentGen
protected int percentGen
percentCan
protected int percentCan
CrossValidationStrategy
public CrossValidationStrategy()
initialize
public void initialize()
- Specified by:
initialize
in interface DataDistributionStrategy
populateData
public void populateData(ArrayList<NNPattern> dc,
ArrayList<NNPattern> dt,
ArrayList<NNPattern> dg,
ArrayList<NNPattern> dv)
- Specified by:
populateData
in interface DataDistributionStrategy
setFile
public void setFile(String file)
setK
public void setK(int k)
setKoffset
public void setKoffset(int koffset)
setNoInputs
public void setNoInputs(int noInputs)
setPercentCan
public void setPercentCan(int percentCan)
setPercentGen
public void setPercentGen(int percentGen)
setPercentTrain
public void setPercentTrain(int percentTrain)
setShuffleRandomizer
public void setShuffleRandomizer(Random shuffleRandomizer)
Copyright © 2009 CIRG. All Rights Reserved.