[ https://issues.apache.org/jira/browse/MAHOUT-1464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031138#comment-14031138 ]
ASF GitHub Bot commented on MAHOUT-1464: ---------------------------------------- Github user dlyubimov commented on a diff in the pull request: https://github.com/apache/mahout/pull/18#discussion_r13770924 --- Diff: math-scala/src/test/scala/org/apache/mahout/math/scalabindings/MatrixOpsSuite.scala --- @@ -123,4 +123,16 @@ class MatrixOpsSuite extends FunSuite with MahoutSuite { } + test("numNonZeroElementsPerColumn") { + val a = dense( + (2, 3, 4), + (3, 4, 5), + (-5, 0, -1), + (0, 0, 1) + ) + + a.numNonZeroElementsPerColumn() should equal(dvec(3,2,4)) --- End diff -- style: spacing? > Cooccurrence Analysis on Spark > ------------------------------ > > Key: MAHOUT-1464 > URL: https://issues.apache.org/jira/browse/MAHOUT-1464 > Project: Mahout > Issue Type: Improvement > Components: Collaborative Filtering > Environment: hadoop, spark > Reporter: Pat Ferrel > Assignee: Pat Ferrel > Fix For: 1.0 > > Attachments: MAHOUT-1464.patch, MAHOUT-1464.patch, MAHOUT-1464.patch, > MAHOUT-1464.patch, MAHOUT-1464.patch, MAHOUT-1464.patch, run-spark-xrsj.sh > > > Create a version of Cooccurrence Analysis (RowSimilarityJob with LLR) that > runs on Spark. This should be compatible with Mahout Spark DRM DSL so a DRM > can be used as input. > Ideally this would extend to cover MAHOUT-1422. This cross-cooccurrence has > several applications including cross-action recommendations. -- This message was sent by Atlassian JIRA (v6.2#6252)