Class SimpleOutlierEnsemble

  • All Implemented Interfaces:
    Algorithm, OutlierAlgorithm

    public class SimpleOutlierEnsemble
    extends java.lang.Object
    implements OutlierAlgorithm
    Simple outlier ensemble method.
    Since:
    0.5.5
    Author:
    Erich Schubert
    • Field Detail

      • LOG

        private static final Logging LOG
        The logger for this class.
      • algorithms

        private java.util.List<? extends OutlierAlgorithm> algorithms
        The algorithms to run.
    • Constructor Detail

      • SimpleOutlierEnsemble

        public SimpleOutlierEnsemble​(java.util.List<? extends OutlierAlgorithm> algorithms,
                                     EnsembleVoting voting)
        Constructor.
        Parameters:
        algorithms - Algorithms to run
        voting - Voting method
    • Method Detail

      • getInputTypeRestriction

        public TypeInformation[] getInputTypeRestriction()
        Description copied from interface: Algorithm
        Get the input type restriction used for negotiating the data query.
        Specified by:
        getInputTypeRestriction in interface Algorithm
        Returns:
        Type restriction
      • autorun

        public OutlierResult autorun​(Database database)
                              throws java.lang.IllegalStateException
        Description copied from interface: Algorithm
        Try to auto-run the algorithm on a database by calling a method called run, with an optional Database first, and with data relations as specified by Algorithm.getInputTypeRestriction().
        Specified by:
        autorun in interface Algorithm
        Specified by:
        autorun in interface OutlierAlgorithm
        Parameters:
        database - the database to run the algorithm on
        Returns:
        the Result computed by this algorithm
        Throws:
        java.lang.IllegalStateException