You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Deron Eriksson (JIRA)" <ji...@apache.org> on 2016/02/12 23:09:18 UTC

[jira] [Commented] (SYSTEMML-494) Remove warnings from regular GLM.dml execution

    [ https://issues.apache.org/jira/browse/SYSTEMML-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15145397#comment-15145397 ] 

Deron Eriksson commented on SYSTEMML-494:
-----------------------------------------

GLM.dml (main), GLM.dml (test), and GLM.pydml (test) updated to remove warnings.

Fixed by [PR67 | https://github.com/apache/incubator-systemml/pull/67]

> Remove warnings from regular GLM.dml execution
> ----------------------------------------------
>
>                 Key: SYSTEMML-494
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-494
>             Project: SystemML
>          Issue Type: Task
>            Reporter: Deron Eriksson
>            Assignee: Deron Eriksson
>
> If GLM.dml is run, the user sees 3 WARN messages. For instance, if I do the following:
> {code}
> $ hadoop jar ./lib/systemml-0.10.0-incubating-SNAPSHOT.jar -f scripts/algorithms/GLM.dml -nvargs X=myData.train.data.csv Y=myData.train.labels.csv B=logisticResult/B.csv fmt=csv dfam=2 link=2 yneg=2.0 icpt=1 reg=0.0 tol=0.00000001 moi=100 mii=10
> {code}
> I see:
> {code}
> 16/01/29 13:32:53 WARN parser.StatementBlock: WARNING: scripts/algorithms/GLM.dml -- line 357, column 14 -- Initialization of w depends on if-else execution
> 16/01/29 13:32:53 WARN parser.StatementBlock: WARNING: scripts/algorithms/GLM.dml -- line 357, column 14 -- Initialization of w depends on while execution
> 16/01/29 13:32:54 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
> 16/01/29 13:32:54 WARN parser.StatementBlock: WARNING: scripts/algorithms/GLM.dml -- line 161, column 0 -- Variable termination_code defined with different value
> {code}
> For a new user to SystemML, it is disconcerting to see several warning messages, since that can imply that the user is doing something wrong.
> So perhaps the messages can be changed to INFO type messages, or the DML can be changed so as not to generate the warning messages. I would favor updating the DML script if possible.



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