aima.learning.neural
Class NNDataSet
java.lang.Object
aima.learning.neural.NNDataSet
- Direct Known Subclasses:
- IrisNNDataSet, RabbitEyeDataSet
public abstract class NNDataSet
- extends java.lang.Object
Field Summary |
protected java.util.List<java.util.List<java.lang.Double>> |
nds
|
protected java.util.List<java.lang.Integer> |
targetColumnNumbers
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nds
protected java.util.List<java.util.List<java.lang.Double>> nds
targetColumnNumbers
protected java.util.List<java.lang.Integer> targetColumnNumbers
NNDataSet
public NNDataSet()
setTargetColumns
public abstract void setTargetColumns()
createNormalizedDataFromFile
public void createNormalizedDataFromFile(java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
createNormalizedDataFromDataSet
public void createNormalizedDataFromDataSet(DataSet ds,
Numerizer numerizer)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExampleAtRandom
public NNExample getExampleAtRandom()
getExample
public NNExample getExample(int index)
hasMoreExamples
public boolean hasMoreExamples()
howManyExamplesLeft
public int howManyExamplesLeft()
refreshDataset
public void refreshDataset()
createExamplesFromFile
public void createExamplesFromFile(java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
createExamplesFromDataSet
public void createExamplesFromDataSet(DataSet ds,
Numerizer numerizer)
throws java.lang.Exception
- Throws:
java.lang.Exception
getNormalizedData
public java.util.List<java.util.List<java.lang.Double>> getNormalizedData()
getMeans
public java.util.List<java.lang.Double> getMeans()
getStdevs
public java.util.List<java.lang.Double> getStdevs()