Github user jkbradley commented on a diff in the pull request:
https://github.com/apache/spark/pull/12402#discussion_r60674780
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/clustering/GaussianMixture.scala ---
@@ -70,12 +70,13 @@ private[clustering] trait GaussianMixtureParams extends
Params with HasMaxIter w
@Experimental
class GaussianMixtureModel private[ml] (
@Since("2.0.0") override val uid: String,
- private val parentModel: MLlibGMModel)
+ private val parentModel: MLlibGMModel,
+ @Since("2.0.0") @transient protected val sqlContext: SQLContext)
--- End diff --
Sorry, but I'd like to change my recommendation. To follow existing
implementations, let's just getOrCreate the SQLContext in gaussiansDF.
---
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]