[
https://issues.apache.org/jira/browse/MADLIB-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Frank McQuillan closed MADLIB-1227.
-----------------------------------
> In MLP classification with mini-batch, check for 1-hot encoding of dependent
> variable
> -------------------------------------------------------------------------------------
>
> Key: MADLIB-1227
> URL: https://issues.apache.org/jira/browse/MADLIB-1227
> Project: Apache MADlib
> Issue Type: Improvement
> Reporter: Frank McQuillan
> Priority: Minor
> Fix For: v1.14
>
>
> Related to
> https://issues.apache.org/jira/browse/MADLIB-1226
> Add check to MLP classification code to check that the dependent var has been
> 1-hot encoded by accident, and error out if that is not the case.
> This is to avoid the case of passing INTs as dep var to MLP that have not
> been 1-hot encoded and having it run classification and not converge, or give
> erroneous results, and giving no notification to the user about the problem.
> OK to pick 1st row and check one that y array value for encoding looks like:
> {code}
> [0.0, 1.0, 0.0 ...]
> {code}
> i.e., all 0's and just one 1
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)