Class WekaPreprocessorFitter

  • All Implemented Interfaces:
    IWekaPreprocessingAlgorithm, java.lang.Iterable<org.api4.java.algorithm.events.IAlgorithmEvent>, java.util.concurrent.Callable<IWekaPreprocessingAlgorithm>, java.util.Iterator<org.api4.java.algorithm.events.IAlgorithmEvent>, org.api4.java.algorithm.IAlgorithm<org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?>,​IWekaPreprocessingAlgorithm>, org.api4.java.common.control.ICancelable, org.api4.java.common.control.ILoggingCustomizable, org.api4.java.common.event.IEventEmitter<java.lang.Object>, org.api4.java.common.event.IRelaxedEventEmitter

    public class WekaPreprocessorFitter
    extends ai.libs.jaicore.basic.algorithm.AAlgorithm<org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?>,​IWekaPreprocessingAlgorithm>
    implements IWekaPreprocessingAlgorithm
    • Constructor Summary

      Constructors 
      Constructor Description
      WekaPreprocessorFitter​(org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?> input, java.lang.String searcher, java.lang.String evaluator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IWekaPreprocessingAlgorithm call()  
      void cancel()  
      weka.attributeSelection.AttributeSelection getSelector()  
      org.api4.java.algorithm.events.IAlgorithmEvent nextWithException()  
      • Methods inherited from class ai.libs.jaicore.basic.algorithm.AAlgorithm

        activate, announceTimeoutDetected, avoidReinterruptionOnShutdownOnCurrentThread, checkAndConductTermination, checkTermination, computeTimeoutAware, getActivationTime, getConfig, getDeadline, getId, getInput, getListeners, getLoggerName, getNumCPUs, getRemainingTimeToDeadline, getState, getTimeout, getTimeoutPrecautionOffset, hasNext, hasThreadBeenInterruptedDuringShutdown, interruptThreadAsPartOfShutdown, isCanceled, isShutdownInitialized, isStopCriterionSatisfied, isTimeoutDefined, isTimeouted, iterator, next, post, registerActiveThread, registerListener, resolveShutdownInterruptOnCurrentThread, setConfig, setDeadline, 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 org.api4.java.algorithm.IAlgorithm

        getConfig, getId, getInput, getNumCPUs, getTimeout, registerListener, setMaxNumThreads, setNumCPUs, setTimeout, setTimeout
      • Methods inherited from interface java.lang.Iterable

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

        forEachRemaining, hasNext, next, remove
    • Constructor Detail

      • WekaPreprocessorFitter

        public WekaPreprocessorFitter​(org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?> input,
                                      java.lang.String searcher,
                                      java.lang.String evaluator)
    • Method Detail

      • nextWithException

        public org.api4.java.algorithm.events.IAlgorithmEvent nextWithException()
                                                                         throws java.lang.InterruptedException,
                                                                                org.api4.java.algorithm.exceptions.AlgorithmExecutionCanceledException,
                                                                                org.api4.java.algorithm.exceptions.AlgorithmTimeoutedException,
                                                                                org.api4.java.algorithm.exceptions.AlgorithmException
        Specified by:
        nextWithException in interface org.api4.java.algorithm.IAlgorithm<org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?>,​IWekaPreprocessingAlgorithm>
        Throws:
        java.lang.InterruptedException
        org.api4.java.algorithm.exceptions.AlgorithmExecutionCanceledException
        org.api4.java.algorithm.exceptions.AlgorithmTimeoutedException
        org.api4.java.algorithm.exceptions.AlgorithmException
      • call

        public IWekaPreprocessingAlgorithm call()
                                         throws java.lang.InterruptedException,
                                                org.api4.java.algorithm.exceptions.AlgorithmExecutionCanceledException,
                                                org.api4.java.algorithm.exceptions.AlgorithmTimeoutedException,
                                                org.api4.java.algorithm.exceptions.AlgorithmException
        Specified by:
        call in interface java.util.concurrent.Callable<IWekaPreprocessingAlgorithm>
        Specified by:
        call in interface org.api4.java.algorithm.IAlgorithm<org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?>,​IWekaPreprocessingAlgorithm>
        Throws:
        java.lang.InterruptedException
        org.api4.java.algorithm.exceptions.AlgorithmExecutionCanceledException
        org.api4.java.algorithm.exceptions.AlgorithmTimeoutedException
        org.api4.java.algorithm.exceptions.AlgorithmException
      • getSelector

        public weka.attributeSelection.AttributeSelection getSelector()
      • cancel

        public void cancel()
        Specified by:
        cancel in interface org.api4.java.common.control.ICancelable
        Overrides:
        cancel in class ai.libs.jaicore.basic.algorithm.AAlgorithm<org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<?>,​IWekaPreprocessingAlgorithm>