We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f143fd4 commit b6a36b9Copy full SHA for b6a36b9
mllib/src/main/scala/org/apache/spark/ml/feature/StringIndexer.scala
@@ -88,6 +88,9 @@ class StringIndexer(override val uid: String) extends Estimator[StringIndexerMod
88
/**
89
* :: Experimental ::
90
* Model fitted by [[StringIndexer]].
91
+ * NOTE: During transformation, if the input column does not exist,
92
+ * [[StringIndexerModel.transform]] would return the input dataset unmodified.
93
+ * This is a temporary fix for the case when target labels do not exist during prediction.
94
*/
95
@Experimental
96
class StringIndexerModel private[ml] (
0 commit comments