Class AbstractWekaEnsembleGenerator

    • Constructor Detail

      • AbstractWekaEnsembleGenerator

        public AbstractWekaEnsembleGenerator()
    • Method Detail

      • accepts

        public abstract Class[] accepts()
        Returns the input data the generator processes.
        Returns:
        the accepted classes
      • generates

        public abstract Class[] generates()
        Returns the output data the generator generates.
        Returns:
        the generated classes
      • check

        protected String check​(Object input)
        Check method before generating the ensemble.
        Parameters:
        input - the input to use
        Returns:
        null if checks passed, otherwise error message
      • doGenerate

        protected abstract Object doGenerate​(Object input)
        Generates the ensemble from the input.
        Parameters:
        input - the input to use
        Returns:
        the generated ensemble
      • generate

        public Object generate​(Object input)
        Generates the ensemble from the input.
        Parameters:
        input - the input to use
        Returns:
        the generated ensemble