spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dongj...@apache.org
Subject [spark] branch branch-3.0 updated: [SPARK-30954][ML][R] Make file name the same as class name
Date Tue, 17 Mar 2020 23:16:38 GMT
This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new a7c2525  [SPARK-30954][ML][R] Make file name the same as class name
a7c2525 is described below

commit a7c25259c97085f6518f88fbcc3f0f4bde2995af
Author: Qianyang Yu <qyu@us.ibm.com>
AuthorDate: Tue Mar 17 16:15:02 2020 -0700

    [SPARK-30954][ML][R] Make file name the same as class name
    
    This pr solved the same issue as [pr27919](https://github.com/apache/spark/pull/27919),
but this one changes the file names based on comment from previous pr.
    
    ### What changes were proposed in this pull request?
    
    Make some of  file names the same as class name in R package.
    
    ### Why are the changes needed?
    
    Make the file consistence
    
    ### Does this PR introduce any user-facing change?
    
    No
    ### How was this patch tested?
    
    run `./R/run-tests.sh`
    
    Closes #27940 from kevinyu98/spark-30954-r-v2.
    
    Authored-by: Qianyang Yu <qyu@us.ibm.com>
    Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
    (cherry picked from commit 6f0b0f1655e5d8fbfb20ed0a58b740e6c9a6ae50)
    Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
---
 ...reeClassificationWrapper.scala => DecisionTreeClassifierWrapper.scala} | 0
 ...sionTreeRegressionWrapper.scala => DecisionTreeRegressorWrapper.scala} | 0
 .../ml/r/{GBTClassificationWrapper.scala => GBTClassifierWrapper.scala}   | 0
 .../spark/ml/r/{GBTRegressionWrapper.scala => GBTRegressorWrapper.scala}  | 0
 ...estClassificationWrapper.scala => RandomForestClassifierWrapper.scala} | 0
 ...omForestRegressionWrapper.scala => RandomForestRegressorWrapper.scala} | 0
 6 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/mllib/src/main/scala/org/apache/spark/ml/r/DecisionTreeClassificationWrapper.scala
b/mllib/src/main/scala/org/apache/spark/ml/r/DecisionTreeClassifierWrapper.scala
similarity index 100%
rename from mllib/src/main/scala/org/apache/spark/ml/r/DecisionTreeClassificationWrapper.scala
rename to mllib/src/main/scala/org/apache/spark/ml/r/DecisionTreeClassifierWrapper.scala
diff --git a/mllib/src/main/scala/org/apache/spark/ml/r/DecisionTreeRegressionWrapper.scala
b/mllib/src/main/scala/org/apache/spark/ml/r/DecisionTreeRegressorWrapper.scala
similarity index 100%
rename from mllib/src/main/scala/org/apache/spark/ml/r/DecisionTreeRegressionWrapper.scala
rename to mllib/src/main/scala/org/apache/spark/ml/r/DecisionTreeRegressorWrapper.scala
diff --git a/mllib/src/main/scala/org/apache/spark/ml/r/GBTClassificationWrapper.scala b/mllib/src/main/scala/org/apache/spark/ml/r/GBTClassifierWrapper.scala
similarity index 100%
rename from mllib/src/main/scala/org/apache/spark/ml/r/GBTClassificationWrapper.scala
rename to mllib/src/main/scala/org/apache/spark/ml/r/GBTClassifierWrapper.scala
diff --git a/mllib/src/main/scala/org/apache/spark/ml/r/GBTRegressionWrapper.scala b/mllib/src/main/scala/org/apache/spark/ml/r/GBTRegressorWrapper.scala
similarity index 100%
rename from mllib/src/main/scala/org/apache/spark/ml/r/GBTRegressionWrapper.scala
rename to mllib/src/main/scala/org/apache/spark/ml/r/GBTRegressorWrapper.scala
diff --git a/mllib/src/main/scala/org/apache/spark/ml/r/RandomForestClassificationWrapper.scala
b/mllib/src/main/scala/org/apache/spark/ml/r/RandomForestClassifierWrapper.scala
similarity index 100%
rename from mllib/src/main/scala/org/apache/spark/ml/r/RandomForestClassificationWrapper.scala
rename to mllib/src/main/scala/org/apache/spark/ml/r/RandomForestClassifierWrapper.scala
diff --git a/mllib/src/main/scala/org/apache/spark/ml/r/RandomForestRegressionWrapper.scala
b/mllib/src/main/scala/org/apache/spark/ml/r/RandomForestRegressorWrapper.scala
similarity index 100%
rename from mllib/src/main/scala/org/apache/spark/ml/r/RandomForestRegressionWrapper.scala
rename to mllib/src/main/scala/org/apache/spark/ml/r/RandomForestRegressorWrapper.scala


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


Mime
View raw message