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

Add 1-hot encoding support for dependent var in fit

    XMLWordPrintableJSON

Details

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

    Description

      The current fit function for DL assumes dependent variable is not one-hot encoded. But fit uses data obtained after running minibatch_preprocessor_dl that returns a 1-hot encoded array for each dependent var (https://issues.apache.org/jira/browse/MADLIB-1303). 

      Fit should be able to work with this 1-hot encoded data to train the model, and also create a column called class_values in the model summary table to map 1-hot index with a class value.

      Predict should then be able to use class_values to figure out the label for a given row in the test table.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: