[jira] [Resolved] (SYSTEMML-625) Handle circular import references

2016-04-22 Thread Deron Eriksson (JIRA)

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

Deron Eriksson resolved SYSTEMML-625.
-
Resolution: Fixed

> Handle circular import references
> -
>
> Key: SYSTEMML-625
> URL: https://issues.apache.org/jira/browse/SYSTEMML-625
> Project: SystemML
>  Issue Type: Sub-task
>  Components: Parser
>Reporter: Deron Eriksson
>Assignee: Glenn Weidner
>
> Suppose we have a DML file named "example.dml" that contains a source call to 
> itself:
> {code}
> source("./example.dml") as example;
> {code}
> This produces an infinite loop that gives:
> {code}
> Exception in thread "main" java.lang.StackOverflowError
> {code}
> Similar error occurs for other types of circular references such as script1 
> imports script2 imports script3 imports1.



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


[jira] [Updated] (SYSTEMML-645) accuracy result in naive-bayes should be a scalar

2016-04-22 Thread Tommy Yu (JIRA)

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

Tommy Yu updated SYSTEMML-645:
--
Summary: accuracy result in naive-bayes should be a scalar  (was: accuracy 
result in naive-bayes should be a scala)

> accuracy result in naive-bayes should be a scalar
> -
>
> Key: SYSTEMML-645
> URL: https://issues.apache.org/jira/browse/SYSTEMML-645
> Project: SystemML
>  Issue Type: Bug
>  Components: Algorithms
>Reporter: Tommy Yu
>Priority: Minor
>
> Naiver-bayes export accuracy string as result:
> acc_str = "Training Accuracy (%): " + acc
> print(acc_str)
> write(acc_str, $accuracy)
> same for Naiver-bayes-predict
>   acc_str = "Accuracy (%): " + acc
>   print(acc_str)
>   if(cmdLine_accuracy != " ")
>   write(acc_str, cmdLine_accuracy)
> I thought maybe it's issues here.



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


[jira] [Created] (SYSTEMML-645) accuracy result in naive-bayes should be a scala

2016-04-22 Thread Tommy Yu (JIRA)
Tommy Yu created SYSTEMML-645:
-

 Summary: accuracy result in naive-bayes should be a scala
 Key: SYSTEMML-645
 URL: https://issues.apache.org/jira/browse/SYSTEMML-645
 Project: SystemML
  Issue Type: Bug
  Components: Algorithms
Reporter: Tommy Yu
Priority: Minor


Naiver-bayes export accuracy string as result:
acc_str = "Training Accuracy (%): " + acc
print(acc_str)
write(acc_str, $accuracy)

same for Naiver-bayes-predict
acc_str = "Accuracy (%): " + acc
print(acc_str)
if(cmdLine_accuracy != " ")
write(acc_str, cmdLine_accuracy)

I thought maybe it's issues here.



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