You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Miao Wang (JIRA)" <ji...@apache.org> on 2016/03/30 20:19:25 UTC

[jira] [Issue Comment Deleted] (SPARK-14249) Change MLReader.read to be a property for PySpark

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

Miao Wang updated SPARK-14249:
------------------------------
    Comment: was deleted

(was: http://stackoverflow.com/questions/128573/using-property-on-classmethods

>From the above post, it seems that making classmethods a property is not straightforward by adding @property. I tried using @property directly, it doesn't work. Do you think we should add metacalss mentioned in the post to add property to read method?

Thanks!

Miao)

> Change MLReader.read to be a property for PySpark
> -------------------------------------------------
>
>                 Key: SPARK-14249
>                 URL: https://issues.apache.org/jira/browse/SPARK-14249
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, PySpark
>            Reporter: Joseph K. Bradley
>            Priority: Minor
>
> To match MLWritable.write and SQLContext.read, it will be good to make the PySpark MLReader classmethod {{read}} be a property.



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