Class ClassifierFoundEvent

  • All Implemented Interfaces:
    org.api4.java.algorithm.events.IAlgorithmEvent, org.api4.java.algorithm.events.result.IScoredSolutionCandidateFoundEvent<org.api4.java.ai.ml.core.learner.ISupervisedLearner<?,​?>,​java.lang.Double>, org.api4.java.algorithm.events.result.ISolutionCandidateFoundEvent<org.api4.java.ai.ml.core.learner.ISupervisedLearner<?,​?>>, org.api4.java.common.event.IEvent

    public class ClassifierFoundEvent
    extends ai.libs.jaicore.basic.algorithm.ASolutionCandidateFoundEvent<org.api4.java.ai.ml.core.learner.ISupervisedLearner<?,​?>>
    implements org.api4.java.algorithm.events.result.IScoredSolutionCandidateFoundEvent<org.api4.java.ai.ml.core.learner.ISupervisedLearner<?,​?>,​java.lang.Double>
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassifierFoundEvent​(org.api4.java.algorithm.IAlgorithm<?,​?> algorithm, ai.libs.jaicore.components.model.ComponentInstance componentDescription, org.api4.java.ai.ml.core.learner.ISupervisedLearner<?,​?> solutionCandidate, double inSampleError, int timeToEvaluate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ai.libs.jaicore.components.model.ComponentInstance getComponentDescription()  
      double getInSampleError()  
      java.lang.Double getScore()  
      double getTimeToEvaluate()  
      java.lang.String toString()  
      • Methods inherited from class ai.libs.jaicore.basic.algorithm.ASolutionCandidateFoundEvent

        getGID, getSolutionCandidate
      • Methods inherited from class ai.libs.jaicore.basic.algorithm.AAlgorithmEvent

        getAlgorithmId, getTimestamp
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.api4.java.algorithm.events.IAlgorithmEvent

        getAlgorithmId
      • Methods inherited from interface org.api4.java.common.event.IEvent

        getTimestamp
      • Methods inherited from interface org.api4.java.algorithm.events.result.ISolutionCandidateFoundEvent

        getSolutionCandidate
    • Constructor Detail

      • ClassifierFoundEvent

        public ClassifierFoundEvent​(org.api4.java.algorithm.IAlgorithm<?,​?> algorithm,
                                    ai.libs.jaicore.components.model.ComponentInstance componentDescription,
                                    org.api4.java.ai.ml.core.learner.ISupervisedLearner<?,​?> solutionCandidate,
                                    double inSampleError,
                                    int timeToEvaluate)
    • Method Detail

      • getInSampleError

        public double getInSampleError()
      • getScore

        public java.lang.Double getScore()
        Specified by:
        getScore in interface org.api4.java.algorithm.events.result.IScoredSolutionCandidateFoundEvent<org.api4.java.ai.ml.core.learner.ISupervisedLearner<?,​?>,​java.lang.Double>
      • getComponentDescription

        public ai.libs.jaicore.components.model.ComponentInstance getComponentDescription()
      • getTimeToEvaluate

        public double getTimeToEvaluate()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object