GitHub user wangmiao1981 opened a pull request:

    https://github.com/apache/spark/pull/11945

    [SPARK-14071][PySpark][ML]Change MLWritable.write to be a property

    Add property to MLWritable.write method, so we can use .write instead of 
.write()
    
    Add a new test to ml/test.py to check whether the write is a property. 
    ./python/run-tests --python-executables=python2.7 --modules=pyspark-ml
    
    Will test against the following Python executables: ['python2.7']
    Will test the following Python modules: ['pyspark-ml']
    Finished test(python2.7): pyspark.ml.evaluation (11s)
    Finished test(python2.7): pyspark.ml.clustering (16s)
    Finished test(python2.7): pyspark.ml.classification (24s)
    Finished test(python2.7): pyspark.ml.recommendation (24s)
    Finished test(python2.7): pyspark.ml.feature (39s)
    Finished test(python2.7): pyspark.ml.regression (26s)
    Finished test(python2.7): pyspark.ml.tuning (15s)
    Finished test(python2.7): pyspark.ml.tests (30s)
    Tests passed in 55 seconds
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/wangmiao1981/spark fix_property

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/11945.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #11945
    
----
commit eb7a85975de9cb6220c8b0c7c177266d41dedd5a
Author: [email protected] <[email protected]>
Date:   2016-03-24T22:28:22Z

    Change MLWritable.write to be a property

----


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