Class ClassAssigner

  • All Implemented Interfaces:
    Serializable, BaseStepExtender, Step

    @KFStep(name="ClassAssigner",
            category="Evaluation",
            toolTipText="Designate which column is to be considered the class column in incoming data.",
            iconPath="weka/gui/knowledgeflow/icons/ClassAssigner.gif")
    public class ClassAssigner
    extends BaseStep
    Knowledge Flow step for assigning a class attribute in incoming data
    Version:
    $Revision: $
    Author:
    Mark Hall (mhall{[at]}pentaho{[dot]}com)
    See Also:
    Serialized Form
    • Constructor Detail

      • ClassAssigner

        public ClassAssigner()
    • Method Detail

      • setClassColumn

        public void setClassColumn​(String col)
        Set the class column to use
        Parameters:
        col - the class column to use
      • getClassColumn

        public String getClassColumn()
        Get the class column to use
        Returns:
        the class column to use
      • stepInit

        public void stepInit()
                      throws WekaException
        Initialize the step prior to execution
        Throws:
        WekaException - if a problem occurs
      • getIncomingConnectionTypes

        public List<String> getIncomingConnectionTypes()
        Get the incoming connections that this step can accept at this time
        Returns:
        a list of incoming connection types that can be accepted
      • getOutgoingConnectionTypes

        public List<String> getOutgoingConnectionTypes()
        Get the outgoing connection types that this step can produce at this time
        Returns:
        a list of outgoing connections that can be produced