Class DataGenerator

    • Constructor Detail

      • DataGenerator

        public DataGenerator()
    • Method Detail

      • getWrappedAlgorithmClass

        public java.lang.Class getWrappedAlgorithmClass()
        Get the class of the wrapped algorithm
        Specified by:
        getWrappedAlgorithmClass in class WekaAlgorithmWrapper
        Returns:
        the class of the wrapped algorithm
      • setWrappedAlgorithm

        public void setWrappedAlgorithm​(java.lang.Object algo)
        Set the algorithm to wrap
        Overrides:
        setWrappedAlgorithm in class WekaAlgorithmWrapper
        Parameters:
        algo - the algorithm to wrao
      • getDataGenerator

        public DataGenerator getDataGenerator()
        get the data generator
        Returns:
        the data generator
      • stepInit

        public void stepInit()
        Initialize the step. Nothing to do in this case.
      • outputStructureForConnectionType

        public Instances outputStructureForConnectionType​(java.lang.String connectionName)
                                                   throws WekaException
        If possible, get the output structure for the named connection type as a header-only set of instances. Can return null if the specified connection type is not representable as Instances or cannot be determined at present.
        Specified by:
        outputStructureForConnectionType in interface Step
        Overrides:
        outputStructureForConnectionType in class BaseStep
        Parameters:
        connectionName - the name of the connection type to get the output structure for
        Returns:
        the output structure as a header-only Instances object
        Throws:
        WekaException - if a problem occurs
      • getIncomingConnectionTypes

        public java.util.List<java.lang.String> getIncomingConnectionTypes()
        Get acceptable incoming connection types. None in this case since this step is a start point
        Returns:
        null (no acceptable incoming connections)
      • getOutgoingConnectionTypes

        public java.util.List<java.lang.String> getOutgoingConnectionTypes()
        Get a list of outgoing connection types
        Returns:
        a list of outgoing connection types