|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.neural.data.union.UnionNeuralDataSet
public class UnionNeuralDataSet
A UnionNeuralDataSet is used to create a compound data set that is made up of other data sets. The union set will iterate through all of the date of the subsets in the order that they were added to the union. There are a number of uses for this sort of a dataset. One is for processing extremely large SQL datasets. You can break your query into multiple SQLNeuralDataSet objects and use the UnionNeuralDataSet to cause them to appear as one large dataset. The UnionNeuralDataSet can also be used to combine several different dataset types into one. You must specify the ideal and input sizes. All subsets must adhear to these sizes.
| Nested Class Summary | |
|---|---|
class |
UnionNeuralDataSet.UnionIterator
The iterator used to access the UnionNeuralDataSet. |
| Constructor Summary | |
|---|---|
UnionNeuralDataSet(int inputSize,
int idealSize)
Construct the union data set. |
|
| Method Summary | |
|---|---|
void |
add(NeuralData data1)
Not supported. |
void |
add(NeuralData inputData,
NeuralData idealData)
Not supported. |
void |
add(NeuralDataPair inputData)
Not supported. |
void |
addSubset(NeuralDataSet set)
Add a subset. |
void |
close()
Close the dataset. |
int |
getIdealSize()
|
int |
getInputSize()
|
List<NeuralDataSet> |
getSubsets()
|
boolean |
isSupervised()
|
Iterator<NeuralDataPair> |
iterator()
Obtain an iterator to access the collection of data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnionNeuralDataSet(int inputSize,
int idealSize)
inputSize - The array size of the input data.idealSize - The array size of the ideal data.| Method Detail |
|---|
public void add(NeuralData data1)
add in interface NeuralDataSetdata1 - Not supported.
public void add(NeuralData inputData,
NeuralData idealData)
add in interface NeuralDataSetinputData - Not supported.idealData - Not supported.public void add(NeuralDataPair inputData)
add in interface NeuralDataSetinputData - Not supported.public void addSubset(NeuralDataSet set)
set - The subset to add.public void close()
close in interface NeuralDataSetpublic int getIdealSize()
getIdealSize in interface EngineDataSetgetIdealSize in interface NeuralDataSetpublic int getInputSize()
getInputSize in interface EngineDataSetgetInputSize in interface NeuralDataSetpublic List<NeuralDataSet> getSubsets()
public Iterator<NeuralDataPair> iterator()
iterator in interface Iterable<NeuralDataPair>public boolean isSupervised()
isSupervised in interface EngineDataSetisSupervised in interface NeuralDataSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||