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

Define the output of madlib_keras_predict

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v1.16
    • Deep Learning
    • None

    Description

      Currently, we only give class label as output in output table. The following output format can be more informative, following the output format in MLP (http://madlib.apache.org/docs/latest/group__grp__nn.html#predict).
      Requirements:
      1. Update predict interface to have a new optional param named `pred_type`. It takes two values, `response` or `prob`, and default can be `response`.
      1. If `pred_type=response`, create one output column for the predicted class label. Following the convention in MLP, this column is to be named `estimated_COL_NAME` where COL_NAME is the name of the column being predicted.
      1. If `pred_type=prob`, create one output column for each distinct class value found in training data (this is captured in `class_values` column from model summary table). The new columns should be named `prob_CLASS` where CLASS is the corresponding class value.

      Attachments

        Activity

          People

            Unassigned Unassigned
            njayaram Nandish Jayaram
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: