public abstract class RunManager
extends java.lang.Object
| Constructor and Description |
|---|
RunManager() |
| Modifier and Type | Method and Description |
|---|---|
static double[] |
run(NeuralNet[] nets,
CharacterImage image,
ProgressListener listener,
ReceptorManager receptorManager)
Runs a single image through all nets, returning the raw net output.
|
static Symbol |
runOneImg(NeuralNet[] nets,
CharacterImage image,
SymbolTable symbols,
ProgressListener listener,
double covarianceWeight,
double subtractionWeight,
ReceptorManager receptorManager)
Loops through all of the nets, runs them and add it to a list of doubles, then returns the best fit symbol for those outputs.
|
public static Symbol runOneImg(NeuralNet[] nets, CharacterImage image, SymbolTable symbols, ProgressListener listener, double covarianceWeight, double subtractionWeight, ReceptorManager receptorManager)
nets - The neural net stack to run through, orderedimage - The CharacterImage to run through this recognition algorithmsymbols - The symbol table with which to compare the image givenlistener - A ProgressListener to monitor this operationpublic static double[] run(NeuralNet[] nets, CharacterImage image, ProgressListener listener, ReceptorManager receptorManager)
nets - The whole net stack, orderedimage - The CharacterImage to run through all netslistener - The ProgressListener that is to monitor the operation