Trevor Grant created MAHOUT-1935:
------------------------------------

             Summary: Inefficient use of XtX calculation in Ordinary Least 
Squares
                 Key: MAHOUT-1935
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1935
             Project: Mahout
          Issue Type: Improvement
    Affects Versions: 0.13.0
            Reporter: Trevor Grant
            Priority: Minor
             Fix For: 0.13.0


In line 59 of OrdinaryLeastSquaresModel we calculate and collect XtX, but then 
don't bother to use it (so it is in essence calculated twice).

https://github.com/apache/zeppelin/blob/master/spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to