You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by yu-iskw <gi...@git.apache.org> on 2015/09/10 08:48:48 UTC

[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

GitHub user yu-iskw opened a pull request:

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

    [SPARK-10278][MLlib][PySpark] Add @since annotation to pyspark.mllib.tree

    

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

    $ git pull https://github.com/yu-iskw/spark SPARK-10278

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

    https://github.com/apache/spark/pull/8685.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 #8685
    
----
commit 232ec8bb77f2e74add6bd74e65f99ec00946b74c
Author: Yu ISHIKAWA <yu...@gmail.com>
Date:   2015-09-10T06:46:25Z

    [SPARK-10278][MLlib][PySpark] Add @since annotation to pyspark.mllib.tree

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-140683162
  
      [Test build #42532 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42532/console) for   PR 8685 at commit [`400b7f4`](https://github.com/apache/spark/commit/400b7f46214382964db08fe408595cfb2f6fcbed).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39561501
  
    --- Diff: python/pyspark/mllib/tree.py ---
    @@ -239,6 +261,8 @@ class RandomForestModel(TreeEnsembleModel, JavaLoader):
         .. note:: Experimental
     
         Represents a random forest model.
    +
    +    .. addedversion:: 1.2.0
    --- End diff --
    
    Change to `.. versionadded::`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by yu-iskw <gi...@git.apache.org>.
Github user yu-iskw closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-139132440
  
    Merged build started.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-139159394
  
      [Test build #42251 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42251/console) for   PR 8685 at commit [`1783198`](https://github.com/apache/spark/commit/178319821cf6fbac852f092f6ff12a668e05e0de).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-140835549
  
    Thanks for the changes - LGTM!


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by yu-iskw <gi...@git.apache.org>.
Github user yu-iskw commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-139145805
  
    Jenkins, retest this please.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-139150070
  
      [Test build #42251 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42251/consoleFull) for   PR 8685 at commit [`1783198`](https://github.com/apache/spark/commit/178319821cf6fbac852f092f6ff12a668e05e0de).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-139132418
  
     Merged build triggered.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39561561
  
    --- Diff: python/pyspark/mllib/tree.py ---
    @@ -418,6 +446,8 @@ class GradientBoostedTreesModel(TreeEnsembleModel, JavaLoader):
         .. note:: Experimental
     
         Represents a gradient-boosted tree model.
    +
    +    .. addedversion:: 1.3.0
    --- End diff --
    
    Change to `.. versionadded::`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-139136729
  
      [Test build #42244 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42244/console) for   PR 8685 at commit [`232ec8b`](https://github.com/apache/spark/commit/232ec8bb77f2e74add6bd74e65f99ec00946b74c).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39561998
  
    --- Diff: python/pyspark/mllib/util.py ---
    @@ -222,9 +231,13 @@ class JavaSaveable(Saveable):
         """
         Mixin for models that provide save() through their Scala
         implementation.
    +
    +    .. addedversion:: 1.3.0
    --- End diff --
    
    Change to `.. versionadded::`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39562037
  
    --- Diff: python/pyspark/mllib/util.py ---
    @@ -280,15 +297,21 @@ def _load_java(cls, sc, path):
             return java_obj.load(sc._jsc.sc(), path)
     
         @classmethod
    +    @since("1.3.0")
         def load(cls, sc, path):
    +        """Load a model from the given path."""
             java_model = cls._load_java(sc, path)
             return cls(java_model)
     
     
     class LinearDataGenerator(object):
    -    """Utils for generating linear data"""
    +    """Utils for generating linear data.
    +
    +    .. addedversion:: 1.5.0
    --- End diff --
    
    Change to `.. versionadded::`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-140676449
  
     Merged build triggered.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39562007
  
    --- Diff: python/pyspark/mllib/util.py ---
    @@ -235,6 +248,8 @@ def save(self, sc, path):
     class Loader(object):
         """
         Mixin for classes which can load saved models from files.
    +
    +    .. addedversion:: 1.3.0
    --- End diff --
    
    Change to `.. versionadded::`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by mengxr <gi...@git.apache.org>.
Github user mengxr commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-141130051
  
    Merged into master. Thanks!


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39561981
  
    --- Diff: python/pyspark/mllib/util.py ---
    @@ -197,6 +204,8 @@ def loadVectors(sc, path):
     class Saveable(object):
         """
         Mixin for models and transformers which may be saved as files.
    +
    +    .. addedversion:: 1.3.0
    --- End diff --
    
    Change to `.. versionadded::`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-140533249
  
    Just minor fixes needed - change `addedversion` to `versionadded` + one version number alteration.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39562027
  
    --- Diff: python/pyspark/mllib/util.py ---
    @@ -256,6 +271,8 @@ class JavaLoader(Loader):
         """
         Mixin for classes which can load saved models using its Scala
         implementation.
    +
    +    .. addedversion:: 1.3.0
    --- End diff --
    
    Change to `.. versionadded::`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-139148981
  
    Merged build started.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-140683265
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42532/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39561958
  
    --- Diff: python/pyspark/mllib/util.py ---
    @@ -32,6 +32,8 @@ class MLUtils(object):
     
         """
         Helper methods to load, save and pre-process data used in MLlib.
    +
    +    .. addedversion:: 1.0.0
    --- End diff --
    
    Change to `.. versionadded::`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39561444
  
    --- Diff: python/pyspark/mllib/tree.py ---
    @@ -72,7 +80,10 @@ class DecisionTreeModel(JavaModelWrapper, JavaSaveable, JavaLoader):
         .. note:: Experimental
     
         A decision tree model for classification or regression.
    +
    +    .. addedversion:: 1.1.0
    --- End diff --
    
    Change to `.. versionadded::`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39561422
  
    --- Diff: python/pyspark/mllib/tree.py ---
    @@ -30,6 +30,11 @@
     
     
     class TreeEnsembleModel(JavaModelWrapper, JavaSaveable):
    +    """TreeEnsembleModel
    +
    +    .. addedversion:: 1.3.0
    --- End diff --
    
    Change to `.. versionadded::`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-140677953
  
      [Test build #42532 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42532/consoleFull) for   PR 8685 at commit [`400b7f4`](https://github.com/apache/spark/commit/400b7f46214382964db08fe408595cfb2f6fcbed).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-139136826
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-140676465
  
    Merged build started.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by yu-iskw <gi...@git.apache.org>.
GitHub user yu-iskw reopened a pull request:

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

    [SPARK-10278][MLlib][PySpark] Add @since annotation to pyspark.mllib.tree

    

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

    $ git pull https://github.com/yu-iskw/spark SPARK-10278

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

    https://github.com/apache/spark/pull/8685.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 #8685
    
----
commit 232ec8bb77f2e74add6bd74e65f99ec00946b74c
Author: Yu ISHIKAWA <yu...@gmail.com>
Date:   2015-09-10T06:46:25Z

    [SPARK-10278][MLlib][PySpark] Add @since annotation to pyspark.mllib.tree

commit 178319821cf6fbac852f092f6ff12a668e05e0de
Author: Yu ISHIKAWA <yu...@gmail.com>
Date:   2015-09-10T07:26:21Z

    [SPARK-10278][MLlib][PySpark] Add @since annotation to pyspark.mllib.tree

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39560663
  
    --- Diff: python/pyspark/mllib/tree.py ---
    @@ -90,16 +101,23 @@ def predict(self, x):
             else:
                 return self.call("predict", _convert_to_vector(x))
     
    +    @since("1.1.0")
         def numNodes(self):
    +        """Get number of nodes in tree, including leaf nodes."""
             return self._java_model.numNodes()
     
    +    @since("1.1.0")
         def depth(self):
    +        """Get depth of tree.
    +        E.g.: Depth 0 means 1 leaf node.  Depth 1 means 1 internal node and 2 leaf nodes.
    +        """
             return self._java_model.depth()
     
         def __repr__(self):
             """ summary of model. """
             return self._java_model.toString()
     
    +    @since("1.3.0")
    --- End diff --
    
    This is from 1.2.0


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39561531
  
    --- Diff: python/pyspark/mllib/tree.py ---
    @@ -252,6 +276,8 @@ class RandomForest(object):
     
         Learning algorithm for a random forest model for classification or
         regression.
    +
    +    .. addedversion:: 1.2.0
    --- End diff --
    
    Change to `.. versionadded::`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39561631
  
    --- Diff: python/pyspark/mllib/tree.py ---
    @@ -431,6 +461,8 @@ class GradientBoostedTrees(object):
     
         Learning algorithm for a gradient boosted trees model for
         classification or regression.
    +
    +    .. addedversion:: 1.3.0
    --- End diff --
    
    Change to `.. versionadded::`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-139133814
  
      [Test build #42244 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42244/consoleFull) for   PR 8685 at commit [`232ec8b`](https://github.com/apache/spark/commit/232ec8bb77f2e74add6bd74e65f99ec00946b74c).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-139159700
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42251/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-140683263
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-139159694
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by noel-smith <gi...@git.apache.org>.
Github user noel-smith commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8685#discussion_r39561473
  
    --- Diff: python/pyspark/mllib/tree.py ---
    @@ -115,6 +133,8 @@ class DecisionTree(object):
     
         Learning algorithm for a decision tree model for classification or
         regression.
    +
    +    .. addedversion:: 1.1.0
    --- End diff --
    
    Change to `.. versionadded::`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-139136829
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42244/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by yu-iskw <gi...@git.apache.org>.
Github user yu-iskw commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-140994118
  
    @noel-smith thank you for reviewing it.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-10278][MLlib][PySpark] Add @since annot...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/8685#issuecomment-139148861
  
     Merged build triggered.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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