[ https://issues.apache.org/jira/browse/SYSTEMML-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Boehm closed SYSTEMML-1902. ------------------------------------ Resolution: Fixed Assignee: Matthias Boehm Fix Version/s: SystemML 1.0 > Transformencode failing for mix of recode/dummycode features > ------------------------------------------------------------ > > Key: SYSTEMML-1902 > URL: https://issues.apache.org/jira/browse/SYSTEMML-1902 > Project: SystemML > Issue Type: Bug > Reporter: Matthias Boehm > Assignee: Matthias Boehm > Fix For: SystemML 1.0 > > > The frame transformapply is failing if the transform specification requests a > mix of recoded and dummy coded features. For example, consider the following > transform spec on the homes dataset: > {code} > { "recode": [ "district", "zipcode", "view" ], > "dummycode": [ "zipcode" ] } > {code} > generates the following exception: > {code} > Caused by: java.lang.NumberFormatException: For input string: "west" > at > sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043) > at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110) > at java.lang.Double.parseDouble(Double.java:538) > at > org.apache.sysml.runtime.util.UtilFunctions.objectToDouble(UtilFunctions.java:390) > at > org.apache.sysml.runtime.transform.encode.EncoderDummycode.apply(EncoderDummycode.java:75) > at > org.apache.sysml.runtime.transform.encode.EncoderComposite.encode(EncoderComposite.java:77) > at > org.apache.sysml.runtime.instructions.cp.MultiReturnParameterizedBuiltinCPInstruction.processInstruction(MultiReturnParameterizedBuiltinCPInstruction.java:81) > at > org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:266) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)