You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2016/04/15 21:15:25 UTC

[jira] [Resolved] (SPARK-14104) All Python param setters should use the `_set` method.

     [ https://issues.apache.org/jira/browse/SPARK-14104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph K. Bradley resolved SPARK-14104.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 11939
[https://github.com/apache/spark/pull/11939]

> All Python param setters should use the `_set` method.
> ------------------------------------------------------
>
>                 Key: SPARK-14104
>                 URL: https://issues.apache.org/jira/browse/SPARK-14104
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, PySpark
>            Reporter: Seth Hendrickson
>            Assignee: Seth Hendrickson
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> [SPARK-13068|https://issues.apache.org/jira/browse/SPARK-13068] added type conversions and checking for Python ML params. The type checking happens in the {{_set}} method of params. However, some param setters modify the {{_paramMap}} directly and circumvent type checking. All param updates should happen through the {{_set}} method to ensure proper type conversion.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org