public class NearestNeighborLearningAlgorithm extends ASimplifiedTSCLearningAlgorithm<java.lang.Integer,NearestNeighborClassifier>
| Modifier | Constructor and Description |
|---|---|
protected |
NearestNeighborLearningAlgorithm(ai.libs.jaicore.basic.algorithm.IAlgorithmConfig config,
NearestNeighborClassifier classifier,
TimeSeriesDataset input) |
| Modifier and Type | Method and Description |
|---|---|
NearestNeighborClassifier |
call() |
ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent |
nextWithException() |
getClassifieractivate, announceTimeoutDetected, avoidReinterruptionOnShutdownOnCurrentThread, cancel, checkAndConductTermination, checkTermination, computeTimeoutAware, getActivationTime, getConfig, getId, getInput, getLoggerName, getNumCPUs, getRemainingTimeToDeadline, getState, getTimeout, getTimeoutPrecautionOffset, hasNext, hasThreadBeenInterruptedDuringShutdown, interruptThreadAsPartOfShutdown, isCanceled, isShutdownInitialized, isStopCriterionSatisfied, isTimeouted, iterator, next, post, registerActiveThread, registerListener, resolveShutdownInterruptOnCurrentThread, setConfig, setLoggerName, setMaxNumThreads, setNumCPUs, setState, setTimeout, setTimeout, setTimeoutPrecautionOffset, shutdown, terminate, unregisterActiveThread, unregisterThreadAndShutdownprotected NearestNeighborLearningAlgorithm(ai.libs.jaicore.basic.algorithm.IAlgorithmConfig config,
NearestNeighborClassifier classifier,
TimeSeriesDataset input)
public NearestNeighborClassifier call() throws ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmException
ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmExceptionpublic ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent nextWithException()