Skip to content
Snippets Groups Projects
Commit e2957bc0 authored by Xiangrui Meng's avatar Xiangrui Meng
Browse files

[SPARK-11674][ML] add private val after @transient in Word2VecModel

This causes compile failure with Scala 2.11. See https://issues.scala-lang.org/browse/SI-8813. (Jenkins won't test Scala 2.11. I tested compile locally.) JoshRosen

Author: Xiangrui Meng <meng@databricks.com>

Closes #9644 from mengxr/SPARK-11674.
parent 39b1e36f
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ final class Word2Vec(override val uid: String) extends Estimator[Word2VecModel]
@Experimental
class Word2VecModel private[ml] (
override val uid: String,
@transient wordVectors: feature.Word2VecModel)
@transient private val wordVectors: feature.Word2VecModel)
extends Model[Word2VecModel] with Word2VecBase {
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment