Github user actuaryzhang commented on a diff in the pull request:
https://github.com/apache/spark/pull/12414#discussion_r118392116
--- Diff:
mllib/src/test/scala/org/apache/spark/ml/feature/RFormulaSuite.scala ---
@@ -129,6 +129,23 @@ class RFormulaSuite extends SparkFunSuite with
MLlibTestSparkContext with Defaul
assert(result.collect() === expected.collect())
}
+ test("formula w/o intercept, we should output reference category when
encoding string terms") {
--- End diff --
Would also be great to test the impact of the change when there is are
interactions present?
Will this create the same design matrix as R?
---
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]