Deron Eriksson created SYSTEMML-1199:
----------------------------------------

             Summary: LogisticRegressionSuite.scala fails with mismatch in 
matrix dimensions
                 Key: SYSTEMML-1199
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1199
             Project: SystemML
          Issue Type: Bug
          Components: APIs
            Reporter: Deron Eriksson


The LogisticRegressionSuite.scala tests fail both for Spark 1.6 and Spark 2. 
These tests are not part of the regular test suite.

For instance, the following line:
{code}
lrmodel.transform(testing.toDF).show
{code}
results in:
{code}
Caused by: org.apache.sysml.parser.LanguageException: Invalid Parameters : 
ERROR: null -- line 206, column 12 -- Mismatch in matrix dimensions of 
parameters for function TABLE
        at 
org.apache.sysml.parser.Expression.raiseValidateError(Expression.java:556)
        at 
org.apache.sysml.parser.BuiltinFunctionExpression.checkMatchingDimensions(BuiltinFunctionExpression.java:1447)
        at 
org.apache.sysml.parser.BuiltinFunctionExpression.checkMatchingDimensions(BuiltinFunctionExpression.java:1428)
        at 
org.apache.sysml.parser.BuiltinFunctionExpression.validateExpression(BuiltinFunctionExpression.java:677)
        at 
org.apache.sysml.parser.StatementBlock.validate(StatementBlock.java:567)
        at 
org.apache.sysml.parser.IfStatementBlock.validate(IfStatementBlock.java:70)
        at 
org.apache.sysml.parser.IfStatementBlock.validate(IfStatementBlock.java:70)
        at 
org.apache.sysml.parser.IfStatementBlock.validate(IfStatementBlock.java:77)
        at 
org.apache.sysml.parser.IfStatementBlock.validate(IfStatementBlock.java:70)
        at 
org.apache.sysml.parser.DMLTranslator.validateParseTree(DMLTranslator.java:140)
        at 
org.apache.sysml.api.mlcontext.ScriptExecutor.validateScript(ScriptExecutor.java:551)
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to