Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-1323

MLP - fix column name in output table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v1.16
    • None

    Description

      http://madlib.apache.org/docs/latest/group__grp__nn.html#example

      output_table
      TEXT. Name of the table where output predictions are written. If this table name is already in use, an error is returned. Table contains:
      id	Gives the 'id' for each prediction, corresponding to each row from the data_table.
      estimated_COL_NAME	(For pred_type='response') The estimated class for classification or value for regression, where COL_NAME is the name of the column to be predicted from training data.
      prob_CLASS	
      (For pred_type='prob' for classification) The probability of a given class CLASS as given by softmax. There will be one column for each class in the training data.
      

      But the code outputs `estimated_prob_CLASS`, e.g.

      estimated_prob_Iris_setosa | estimated_prob_Iris_versicolor
      

      so we should fix this so it outputs `prob_CLASS`, e.g.

      prob_Iris_setosa | prob_Iris_versicolor
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            fmcquillan Frank McQuillan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: