|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.neuralnetwork.generic.datacontainers.GenericData
public class GenericData
Field Summary | |
---|---|
protected ArrayList<NNPattern> |
candidateSet
|
protected DataDistributionStrategy |
distributor
|
protected ArrayList<NNPattern> |
generalisationSet
|
protected NeuralNetworkDataIterator |
iter
|
protected ArrayList<NNPattern> |
trainingSet
|
protected ArrayList<NNPattern> |
validationSet
|
Constructor Summary | |
---|---|
GenericData()
Create an instance of GenericData. |
Method Summary | |
---|---|
void |
activeLearningUpdate(Object input)
Update the active learning, based on the provided input. |
NeuralNetworkDataIterator |
getCandidateSetIterator()
Get an Iterator for the candidate set. |
int |
getCandidateSetSize()
Get the size of the candidate set. |
NeuralNetworkDataIterator |
getGeneralisationSetIterator()
Get an Iterator for the generalisation set. |
int |
getGeneralisationSetSize()
Get the size of the generalisation set. |
NeuralNetworkDataIterator |
getTrainingSetIterator()
Get an Iterator for the training set. |
int |
getTrainingSetSize()
Get the size of the training set. |
NeuralNetworkDataIterator |
getValidationSetIterator()
Get an Iterator for the validation set. |
int |
getValidationSetSize()
Get the size of the validation set. |
void |
initialize()
Perform the needed initialisation for the data object. |
void |
printStatistics()
Print some statistics about the data. |
void |
setDistributor(DataDistributionStrategy distributor)
Set the required DataDistributionStrategy. |
void |
shuffleTrainingSet()
Shuffle the training set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ArrayList<NNPattern> candidateSet
protected ArrayList<NNPattern> trainingSet
protected ArrayList<NNPattern> generalisationSet
protected ArrayList<NNPattern> validationSet
protected DataDistributionStrategy distributor
protected NeuralNetworkDataIterator iter
Constructor Detail |
---|
public GenericData()
Method Detail |
---|
public void initialize()
initialize
in interface Initializable
public void setDistributor(DataDistributionStrategy distributor)
distributor
- The DataDistributionStrategy to use.public int getCandidateSetSize()
getCandidateSetSize
in interface NeuralNetworkData
public int getTrainingSetSize()
getTrainingSetSize
in interface NeuralNetworkData
public int getGeneralisationSetSize()
getGeneralisationSetSize
in interface NeuralNetworkData
public int getValidationSetSize()
getValidationSetSize
in interface NeuralNetworkData
public NeuralNetworkDataIterator getTrainingSetIterator()
getTrainingSetIterator
in interface NeuralNetworkData
public NeuralNetworkDataIterator getGeneralisationSetIterator()
getGeneralisationSetIterator
in interface NeuralNetworkData
public NeuralNetworkDataIterator getValidationSetIterator()
getValidationSetIterator
in interface NeuralNetworkData
public NeuralNetworkDataIterator getCandidateSetIterator()
getCandidateSetIterator
in interface NeuralNetworkData
public void activeLearningUpdate(Object input)
activeLearningUpdate
in interface NeuralNetworkData
input
- The input for the update.public void shuffleTrainingSet()
shuffleTrainingSet
in interface NeuralNetworkData
Collections.shuffle(java.util.List, Random)
public void printStatistics()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |