Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/493#discussion_r12196728
--- Diff:
mllib/src/main/scala/org/apache/spark/mllib/recommendation/ALS.scala ---
@@ -708,6 +709,113 @@ object ALS {
trainImplicit(ratings, rank, iterations, 0.01, -1, 1.0)
}
+ /**
+ * :: DeveloperApi ::
+ * Represents the cost attributable to a partition of a single ALS
iteration.
+ */
+ @DeveloperApi
+ case class IterationCost(inboundVectors: Double, outerProducts: Double,
choleskies: Double,
--- End diff --
What is `outerProducts`? Let's change the name `choleskies`. Few people
know Choleksy and we don't really use Cholesky factorization in NNLS. I don't
have a good recommendation. Basically, this is `numUsers` for a user block or
`numProducts` for a product block. Shall we simply call it `n`?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---