diff options
author | Vinod K C <vinod.kc@huawei.com> | 2015-07-13 12:03:39 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-07-13 12:03:39 -0700 |
commit | 714fc55f4aadd5e7b7fb1e462910bfb6a82d9154 (patch) | |
tree | f69c39fe24bcf1ad8b819fabac37813ba93ba1f3 | |
parent | 5c41691fe4da0017ccc7e372e3f655dc1c815349 (diff) | |
download | spark-714fc55f4aadd5e7b7fb1e462910bfb6a82d9154.tar.gz spark-714fc55f4aadd5e7b7fb1e462910bfb6a82d9154.tar.bz2 spark-714fc55f4aadd5e7b7fb1e462910bfb6a82d9154.zip |
[SPARK-8991] [ML] Update SharedParamsCodeGen's Generated Documentation
Removed private[ml] from Generated documentation
Author: Vinod K C <vinod.kc@huawei.com>
Closes #7367 from vinodkc/fix_sharedparmascodegen and squashes the following commits:
4fa3c8f [Vinod K C] Adding auto generated code
7e19025 [Vinod K C] Removed private[ml]
-rw-r--r-- | mllib/src/main/scala/org/apache/spark/ml/param/shared/SharedParamsCodeGen.scala | 3 | ||||
-rw-r--r-- | mllib/src/main/scala/org/apache/spark/ml/param/shared/sharedParams.scala | 37 |
2 files changed, 19 insertions, 21 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/ml/param/shared/SharedParamsCodeGen.scala b/mllib/src/main/scala/org/apache/spark/ml/param/shared/SharedParamsCodeGen.scala index 66b751a1b0..f7ae1de522 100644 --- a/mllib/src/main/scala/org/apache/spark/ml/param/shared/SharedParamsCodeGen.scala +++ b/mllib/src/main/scala/org/apache/spark/ml/param/shared/SharedParamsCodeGen.scala @@ -134,7 +134,7 @@ private[shared] object SharedParamsCodeGen { s""" |/** - | * (private[ml]) Trait for shared param $name$defaultValueDoc. + | * Trait for shared param $name$defaultValueDoc. | */ |private[ml] trait Has$Name extends Params { | @@ -173,7 +173,6 @@ private[shared] object SharedParamsCodeGen { |package org.apache.spark.ml.param.shared | |import org.apache.spark.ml.param._ - |import org.apache.spark.util.Utils | |// DO NOT MODIFY THIS FILE! It was generated by SharedParamsCodeGen. | diff --git a/mllib/src/main/scala/org/apache/spark/ml/param/shared/sharedParams.scala b/mllib/src/main/scala/org/apache/spark/ml/param/shared/sharedParams.scala index f81bd76c22..65e48e4ee5 100644 --- a/mllib/src/main/scala/org/apache/spark/ml/param/shared/sharedParams.scala +++ b/mllib/src/main/scala/org/apache/spark/ml/param/shared/sharedParams.scala @@ -18,14 +18,13 @@ package org.apache.spark.ml.param.shared import org.apache.spark.ml.param._ -import org.apache.spark.util.Utils // DO NOT MODIFY THIS FILE! It was generated by SharedParamsCodeGen. // scalastyle:off /** - * (private[ml]) Trait for shared param regParam. + * Trait for shared param regParam. */ private[ml] trait HasRegParam extends Params { @@ -40,7 +39,7 @@ private[ml] trait HasRegParam extends Params { } /** - * (private[ml]) Trait for shared param maxIter. + * Trait for shared param maxIter. */ private[ml] trait HasMaxIter extends Params { @@ -55,7 +54,7 @@ private[ml] trait HasMaxIter extends Params { } /** - * (private[ml]) Trait for shared param featuresCol (default: "features"). + * Trait for shared param featuresCol (default: "features"). */ private[ml] trait HasFeaturesCol extends Params { @@ -72,7 +71,7 @@ private[ml] trait HasFeaturesCol extends Params { } /** - * (private[ml]) Trait for shared param labelCol (default: "label"). + * Trait for shared param labelCol (default: "label"). */ private[ml] trait HasLabelCol extends Params { @@ -89,7 +88,7 @@ private[ml] trait HasLabelCol extends Params { } /** - * (private[ml]) Trait for shared param predictionCol (default: "prediction"). + * Trait for shared param predictionCol (default: "prediction"). */ private[ml] trait HasPredictionCol extends Params { @@ -106,7 +105,7 @@ private[ml] trait HasPredictionCol extends Params { } /** - * (private[ml]) Trait for shared param rawPredictionCol (default: "rawPrediction"). + * Trait for shared param rawPredictionCol (default: "rawPrediction"). */ private[ml] trait HasRawPredictionCol extends Params { @@ -123,7 +122,7 @@ private[ml] trait HasRawPredictionCol extends Params { } /** - * (private[ml]) Trait for shared param probabilityCol (default: "probability"). + * Trait for shared param probabilityCol (default: "probability"). */ private[ml] trait HasProbabilityCol extends Params { @@ -140,7 +139,7 @@ private[ml] trait HasProbabilityCol extends Params { } /** - * (private[ml]) Trait for shared param threshold. + * Trait for shared param threshold. */ private[ml] trait HasThreshold extends Params { @@ -155,7 +154,7 @@ private[ml] trait HasThreshold extends Params { } /** - * (private[ml]) Trait for shared param inputCol. + * Trait for shared param inputCol. */ private[ml] trait HasInputCol extends Params { @@ -170,7 +169,7 @@ private[ml] trait HasInputCol extends Params { } /** - * (private[ml]) Trait for shared param inputCols. + * Trait for shared param inputCols. */ private[ml] trait HasInputCols extends Params { @@ -185,7 +184,7 @@ private[ml] trait HasInputCols extends Params { } /** - * (private[ml]) Trait for shared param outputCol (default: uid + "__output"). + * Trait for shared param outputCol (default: uid + "__output"). */ private[ml] trait HasOutputCol extends Params { @@ -202,7 +201,7 @@ private[ml] trait HasOutputCol extends Params { } /** - * (private[ml]) Trait for shared param checkpointInterval. + * Trait for shared param checkpointInterval. */ private[ml] trait HasCheckpointInterval extends Params { @@ -217,7 +216,7 @@ private[ml] trait HasCheckpointInterval extends Params { } /** - * (private[ml]) Trait for shared param fitIntercept (default: true). + * Trait for shared param fitIntercept (default: true). */ private[ml] trait HasFitIntercept extends Params { @@ -234,7 +233,7 @@ private[ml] trait HasFitIntercept extends Params { } /** - * (private[ml]) Trait for shared param standardization (default: true). + * Trait for shared param standardization (default: true). */ private[ml] trait HasStandardization extends Params { @@ -251,7 +250,7 @@ private[ml] trait HasStandardization extends Params { } /** - * (private[ml]) Trait for shared param seed (default: this.getClass.getName.hashCode.toLong). + * Trait for shared param seed (default: this.getClass.getName.hashCode.toLong). */ private[ml] trait HasSeed extends Params { @@ -268,7 +267,7 @@ private[ml] trait HasSeed extends Params { } /** - * (private[ml]) Trait for shared param elasticNetParam. + * Trait for shared param elasticNetParam. */ private[ml] trait HasElasticNetParam extends Params { @@ -283,7 +282,7 @@ private[ml] trait HasElasticNetParam extends Params { } /** - * (private[ml]) Trait for shared param tol. + * Trait for shared param tol. */ private[ml] trait HasTol extends Params { @@ -298,7 +297,7 @@ private[ml] trait HasTol extends Params { } /** - * (private[ml]) Trait for shared param stepSize. + * Trait for shared param stepSize. */ private[ml] trait HasStepSize extends Params { |