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

    https://github.com/apache/spark/pull/11099#discussion_r53615612
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/feature/PolynomialExpansion.scala ---
    @@ -46,7 +46,7 @@ class PolynomialExpansion(override val uid: String)
        * @group param
        */
       val degree = new IntParam(this, "degree", "the polynomial degree to 
expand (>= 1)",
    -    ParamValidators.gt(1))
    +    ParamValidators.gtEq(1))
    --- End diff --
    
    This has been done in https://github.com/apache/spark/pull/11216, and I 
think that would be merged shortly (also has a related test case addition).


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