Class PredictionAppender

  • All Implemented Interfaces:
    java.io.Serializable, BaseStepExtender, Step

    @KFStep(name="PredictionAppender",
            category="Evaluation",
            toolTipText="Append predictions from classifiers or clusterers to incoming data ",
            iconPath="weka/gui/knowledgeflow/icons/PredictionAppender.gif")
    public class PredictionAppender
    extends BaseStep
    Step that can produce data with predictions appended from batch or incremental classifiers and clusterers
    Version:
    $Revision: $
    Author:
    Mark Hall (mhall{[at]}pentaho{[dot]}com)
    See Also:
    Serialized Form
    • Constructor Detail

      • PredictionAppender

        public PredictionAppender()
    • Method Detail

      • getIncomingConnectionTypes

        public java.util.List<java.lang.String> getIncomingConnectionTypes()
        Get the incoming connection types that this step accepts
        Returns:
        a list of acceptable incoming connection types
      • getOutgoingConnectionTypes

        public java.util.List<java.lang.String> getOutgoingConnectionTypes()
        Get a list of outgoing connection types that this step can produce at this time
        Returns:
        a list of outgoing connection types
      • setAppendProbabilities

        public void setAppendProbabilities​(boolean append)
        Set whether to append probability distributions rather than predicted classes
        Parameters:
        append - true to append probability distributions
      • getAppendProbabilities

        @OptionMetadata(displayName="Append probabilities",
                        description="Append probabilities")
        public boolean getAppendProbabilities()
        Get whether to append probability distributions rather than predicted classes
        Returns:
        true if probability distributions are to be appended