public abstract class BaseSupervisedTask extends AbstractTask
| Modifier and Type | Field and Description |
|---|---|
protected int |
inputLength |
protected int |
outputLength |
| Constructor and Description |
|---|
BaseSupervisedTask(int inputLength,
int outputLength) |
| Modifier and Type | Method and Description |
|---|---|
long |
getExampleCount()
Returns the number of training examples for this task
|
abstract void |
getInput(mikera.vectorz.AVector inputOut)
Gets the input vector for the task, advancing the task state to the next stage
|
int |
getInputLength()
Returns the input size of the task
|
int |
getOutputLength()
Returns the output size of the task
|
abstract void |
getTarget(mikera.vectorz.AVector input,
mikera.vectorz.AVector targetOut)
Gets the target vector for the task
|
clone, getEvaluation, isComplete, resetprotected final int inputLength
protected final int outputLength
public long getExampleCount()
ITaskpublic int getInputLength()
ITaskpublic int getOutputLength()
ITaskpublic abstract void getInput(mikera.vectorz.AVector inputOut)
ITaskgetInput in interface ITaskgetInput in class AbstractTaskpublic abstract void getTarget(mikera.vectorz.AVector input,
mikera.vectorz.AVector targetOut)
ITaskgetTarget in interface ITaskgetTarget in class AbstractTaskCopyright © 2013. All Rights Reserved.