Nandish Jayaram created MADLIB-1313:
---------------------------------------

             Summary: Add 1-hot encoding support for dependent var in fit
                 Key: MADLIB-1313
                 URL: https://issues.apache.org/jira/browse/MADLIB-1313
             Project: Apache MADlib
          Issue Type: New Feature
          Components: Deep Learning
            Reporter: Nandish Jayaram
             Fix For: v1.16


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to