Matthew Ball created SPARK-58231:
------------------------------------
Summary: Add regression test for SVD++ aggregateMessages combiner
Key: SPARK-58231
URL: https://issues.apache.org/jira/browse/SPARK-58231
Project: Spark
Issue Type: Test
Components: GraphX
Affects Versions: 5.0.0
Reporter: Matthew Ball
Follow-up to SPARK-58177 / PR #57314, which fixed a wrong operand in the SVD++
Phase 2 aggregateMessages combiner (the second vector was based on g2._2,
dropping g1._2 and doubling g2._2). That fix merged without a test. This adds a
regression test: the training-phase message combiner is extracted into a
package-private SVDPlusPlus.combineTrainMessages method and unit-tested in
SVDPlusPlusSuite to assert both vectors and the scalar are summed element-wise.
The test fails on the pre-fix operand and passes on the fix.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]