Github user jkbradley commented on a diff in the pull request:

    https://github.com/apache/spark/pull/11965#discussion_r57488935
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/feature/RFormula.scala 
---
    @@ -125,6 +125,7 @@ class RFormula(override val uid: String)
               encoderStages += new StringIndexer()
                 .setInputCol(term)
                 .setOutputCol(indexCol)
    +          prefixesToRewrite(indexCol + "_") = term + "_"
    --- End diff --
    
    With the bug fix, this now needs to be added.  RFormula tests for 
factor-numeric and factor-factor interactions fail otherwise because of 
prefixes like "stridx_ie94k9ef90127_"


---
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]

Reply via email to