[ 
https://issues.apache.org/jira/browse/SYSTEMML-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deron Eriksson reassigned SYSTEMML-494:
---------------------------------------

    Assignee: Deron Eriksson

> 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)

Reply via email to