Github user tmyklebu commented on a diff in the pull request:
https://github.com/apache/spark/pull/493#discussion_r12213255
--- 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 --
`outerProducts` is the number of outer products you accumulate to form the
subproblem. I could change `choleskies` to the vague `subproblems`, but yeah.
`n` seems worse.
I could go with `quadratic` and `cubic`, but that's even more of a lie.
Probably leave this as is unless I think of a more inspiring name.
---
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.
---