Class NearestNeighborLearningAlgorithm

  • All Implemented Interfaces:
    ai.libs.jaicore.basic.algorithm.IAlgorithm<TimeSeriesDataset,​NearestNeighborClassifier>, ai.libs.jaicore.basic.Cancelable, ai.libs.jaicore.basic.ILoggingCustomizable, java.lang.Iterable<ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent>, java.util.concurrent.Callable<NearestNeighborClassifier>, java.util.Iterator<ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent>

    public class NearestNeighborLearningAlgorithm
    extends ASimplifiedTSCLearningAlgorithm<java.lang.Integer,​NearestNeighborClassifier>
    Training algorithm for the nearest neighbors classifier. This algorithm just delegates the value matrix, timestamps and targets to the classifier.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      NearestNeighborClassifier call()  
      ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent nextWithException()
      • Methods inherited from class ai.libs.jaicore.basic.algorithm.AAlgorithm

        activate, announceTimeoutDetected, avoidReinterruptionOnShutdownOnCurrentThread, checkAndConductTermination, checkTermination, computeTimeoutAware, getActivationTime, getConfig, getId, getInput, getLoggerName, getNumCPUs, getRemainingTimeToDeadline, getState, getTimeout, getTimeoutPrecautionOffset, hasThreadBeenInterruptedDuringShutdown, interruptThreadAsPartOfShutdown, isCanceled, isShutdownInitialized, isStopCriterionSatisfied, isTimeouted, post, registerActiveThread, resolveShutdownInterruptOnCurrentThread, setConfig, setLoggerName, setMaxNumThreads, setNumCPUs, setState, setTimeout, setTimeout, setTimeoutPrecautionOffset, shutdown, terminate, unregisterActiveThread, unregisterThreadAndShutdown
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, remove