Github user jkbradley commented on a diff in the pull request:
https://github.com/apache/spark/pull/6791#discussion_r32886340
--- Diff:
mllib/src/main/scala/org/apache/spark/mllib/api/python/PythonMLLibAPI.scala ---
@@ -465,6 +465,36 @@ private[python] class PythonMLLibAPI extends
Serializable {
}
/**
+ * Java stub for Python mllib LDA.run()
+ */
+ def trainLDAModel(
+ data: JavaRDD[LabeledPoint],
--- End diff --
I haven't tested mine with tuples yet; you're right we should try that.
Mine should support arrays, Vectors (dense & sparse), numpy, and scipy
types since it passes everything through _convert_to_vector.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]