Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/21393#discussion_r189942714
--- Diff: mllib/src/main/scala/org/apache/spark/ml/fpm/PrefixSpan.scala ---
@@ -35,7 +37,87 @@ import org.apache.spark.sql.types.{ArrayType, LongType,
StructField, StructType}
*/
@Since("2.4.0")
@Experimental
-object PrefixSpan {
+final class PrefixSpan(@Since("2.4.0") override val uid: String) extends
Params {
+
+ @Since("2.4.0")
+ def this() = this(Identifiable.randomUID("prefixSpan"))
+
+ /**
+ * the minimal support level of the sequential pattern, any pattern that
--- End diff --
Use uppercase for the first char:
"""
Param for the minimal support level (default: `0.1`).
Sequential patterns that appear more than (minSupport *
size-of-the-dataset) times are identified as frequent sequential patterns.
"""
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]