[jira] [Commented] (SPARK-3249) Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`

2017-01-16 Thread Apache Spark (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-3249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15824011#comment-15824011
 ] 

Apache Spark commented on SPARK-3249:
-

User 'HyukjinKwon' has created a pull request for this issue:
https://github.com/apache/spark/pull/16604

> Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`
> -
>
> Key: SPARK-3249
> URL: https://issues.apache.org/jira/browse/SPARK-3249
> Project: Spark
>  Issue Type: Sub-task
>  Components: Documentation, MLlib
>Affects Versions: 1.1.0
>Reporter: Xiangrui Meng
>Priority: Minor
>
> If there are multiple overloaded versions of a method, we should make the 
> links more specific. Otherwise, `sbt/sbt unidoc` generates warning messages 
> like the following:
> {code}
> [warn] 
> mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:305: The 
> link target "org.apache.spark.mllib.tree.DecisionTree$#trainClassifier" is 
> ambiguous. Several members fit the target:
> [warn] (input: 
> org.apache.spark.api.java.JavaRDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
>  Int,categoricalFeaturesInfo: java.util.Map[Integer,Integer],impurity: 
> String,maxDepth: Int,maxBins: Int): 
> org.apache.spark.mllib.tree.model.DecisionTreeModel in object DecisionTree 
> [chosen]
> [warn] (input: 
> org.apache.spark.rdd.RDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
>  Int,categoricalFeaturesInfo: Map[Int,Int],impurity: String,maxDepth: 
> Int,maxBins: Int): org.apache.spark.mllib.tree.model.DecisionTreeModel in 
> object DecisionTree
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-3249) Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`

2017-01-14 Thread Sean Owen (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-3249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15822750#comment-15822750
 ] 

Sean Owen commented on SPARK-3249:
--

Yes, I remember someone else reported there may be new unidoc failures. If 
you're willing to fix them, go ahead.

> Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`
> -
>
> Key: SPARK-3249
> URL: https://issues.apache.org/jira/browse/SPARK-3249
> Project: Spark
>  Issue Type: Sub-task
>  Components: Documentation, MLlib
>Affects Versions: 1.1.0
>Reporter: Xiangrui Meng
>Priority: Minor
>
> If there are multiple overloaded versions of a method, we should make the 
> links more specific. Otherwise, `sbt/sbt unidoc` generates warning messages 
> like the following:
> {code}
> [warn] 
> mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:305: The 
> link target "org.apache.spark.mllib.tree.DecisionTree$#trainClassifier" is 
> ambiguous. Several members fit the target:
> [warn] (input: 
> org.apache.spark.api.java.JavaRDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
>  Int,categoricalFeaturesInfo: java.util.Map[Integer,Integer],impurity: 
> String,maxDepth: Int,maxBins: Int): 
> org.apache.spark.mllib.tree.model.DecisionTreeModel in object DecisionTree 
> [chosen]
> [warn] (input: 
> org.apache.spark.rdd.RDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
>  Int,categoricalFeaturesInfo: Map[Int,Int],impurity: String,maxDepth: 
> Int,maxBins: Int): org.apache.spark.mllib.tree.model.DecisionTreeModel in 
> object DecisionTree
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-3249) Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`

2017-01-13 Thread Hyukjin Kwon (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-3249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15822722#comment-15822722
 ] 

Hyukjin Kwon commented on SPARK-3249:
-

It prints as below after building this via {{jekyll build}} :

{code}
[warn] .../spark/core/src/main/scala/org/apache/spark/Accumulator.scala:20: The 
link target "SparkContext#accumulator" is ambiguous. Several members fit the 
target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/optimization/GradientDescent.scala:281:
 The link target "runMiniBatchSGD" is ambiguous. Several members fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/fpm/AssociationRules.scala:83:
 The link target "run" is ambiguous. Several members fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/fpm/FPGrowth.scala:221: 
The link target "run" is ambiguous. Several members fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/util/MLUtils.scala:148: 
The link target "org.apache.spark.mllib.util.MLUtils#loadLibSVMFile" is 
ambiguous. Several members fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:239:
 The link target "RandomRDDs#exponentialJavaRDD" is ambiguous. Several members 
fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:227:
 The link target "RandomRDDs#exponentialJavaRDD" is ambiguous. Several members 
fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:750:
 The link target "RandomRDDs#exponentialJavaVectorRDD" is ambiguous. Several 
members fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:737:
 The link target "RandomRDDs#exponentialJavaVectorRDD" is ambiguous. Several 
members fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:298:
 The link target "RandomRDDs#gammaJavaRDD" is ambiguous. Several members fit 
the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:285:
 The link target "RandomRDDs#gammaJavaRDD" is ambiguous. Several members fit 
the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:819:
 The link target "RandomRDDs#gammaJavaVectorRDD" is ambiguous. Several members 
fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:805:
 The link target "RandomRDDs#gammaJavaVectorRDD" is ambiguous. Several members 
fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:361:
 The link target "RandomRDDs#logNormalJavaRDD" is ambiguous. Several members 
fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:348:
 The link target "RandomRDDs#logNormalJavaRDD" is ambiguous. Several members 
fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:621:
 The link target "RandomRDDs#logNormalJavaVectorRDD" is ambiguous. Several 
members fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:607:
 The link target "RandomRDDs#logNormalJavaVectorRDD" is ambiguous. Several 
members fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:129:
 The link target "RandomRDDs#normalJavaRDD" is ambiguous. Several members fit 
the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:121:
 The link target "RandomRDDs#normalJavaRDD" is ambiguous. Several members fit 
the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:554:
 The link target "RandomRDDs#normalJavaVectorRDD" is ambiguous. Several members 
fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:542:
 The link target "RandomRDDs#normalJavaVectorRDD" is ambiguous. Several members 
fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:184:
 The link target "RandomRDDs#poissonJavaRDD" is ambiguous. Several members fit 
the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:172:
 The link target "RandomRDDs#poissonJavaRDD" is ambiguous. Several members fit 
the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:686:
 The link target "RandomRDDs#poissonJavaVectorRDD" is ambiguous. Several 
members fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:673:
 The link target "RandomRDDs#poissonJavaVectorRDD" is ambiguous. Several 
members fit the target:
[warn] 
.../spark/mllib/src/main/scala/org/apache/spark/mllib/random/RandomRDDs.scala:434:
 

[jira] [Commented] (SPARK-3249) Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`

2016-03-19 Thread Dongjoon Hyun (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-3249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15201783#comment-15201783
 ] 

Dongjoon Hyun commented on SPARK-3249:
--

Oh, I see. It sounds like complicate situation.

Thank you always, [~srowen]!

> Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`
> -
>
> Key: SPARK-3249
> URL: https://issues.apache.org/jira/browse/SPARK-3249
> Project: Spark
>  Issue Type: Sub-task
>  Components: Documentation, MLlib
>Affects Versions: 1.1.0
>Reporter: Xiangrui Meng
>Priority: Minor
>
> If there are multiple overloaded versions of a method, we should make the 
> links more specific. Otherwise, `sbt/sbt unidoc` generates warning messages 
> like the following:
> {code}
> [warn] 
> mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:305: The 
> link target "org.apache.spark.mllib.tree.DecisionTree$#trainClassifier" is 
> ambiguous. Several members fit the target:
> [warn] (input: 
> org.apache.spark.api.java.JavaRDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
>  Int,categoricalFeaturesInfo: java.util.Map[Integer,Integer],impurity: 
> String,maxDepth: Int,maxBins: Int): 
> org.apache.spark.mllib.tree.model.DecisionTreeModel in object DecisionTree 
> [chosen]
> [warn] (input: 
> org.apache.spark.rdd.RDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
>  Int,categoricalFeaturesInfo: Map[Int,Int],impurity: String,maxDepth: 
> Int,maxBins: Int): org.apache.spark.mllib.tree.model.DecisionTreeModel in 
> object DecisionTree
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-3249) Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`

2016-03-19 Thread Sean Owen (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-3249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15201270#comment-15201270
 ] 

Sean Owen commented on SPARK-3249:
--

It's definitely still an issue. I remember trying to fix this and found it had 
something to do with unidoc not been able to handle cross-module links. But if 
you can fix any of the warnings, or conclude the rest can't be, yes please do 
so.

> Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`
> -
>
> Key: SPARK-3249
> URL: https://issues.apache.org/jira/browse/SPARK-3249
> Project: Spark
>  Issue Type: Sub-task
>  Components: Documentation, MLlib
>Affects Versions: 1.1.0
>Reporter: Xiangrui Meng
>Priority: Minor
>
> If there are multiple overloaded versions of a method, we should make the 
> links more specific. Otherwise, `sbt/sbt unidoc` generates warning messages 
> like the following:
> {code}
> [warn] 
> mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:305: The 
> link target "org.apache.spark.mllib.tree.DecisionTree$#trainClassifier" is 
> ambiguous. Several members fit the target:
> [warn] (input: 
> org.apache.spark.api.java.JavaRDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
>  Int,categoricalFeaturesInfo: java.util.Map[Integer,Integer],impurity: 
> String,maxDepth: Int,maxBins: Int): 
> org.apache.spark.mllib.tree.model.DecisionTreeModel in object DecisionTree 
> [chosen]
> [warn] (input: 
> org.apache.spark.rdd.RDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
>  Int,categoricalFeaturesInfo: Map[Int,Int],impurity: String,maxDepth: 
> Int,maxBins: Int): org.apache.spark.mllib.tree.model.DecisionTreeModel in 
> object DecisionTree
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-3249) Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`

2016-03-19 Thread Dongjoon Hyun (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-3249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15200975#comment-15200975
 ] 

Dongjoon Hyun commented on SPARK-3249:
--

Hi, [~mengxr].

If this issue is still valid, may I do this ?

> Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`
> -
>
> Key: SPARK-3249
> URL: https://issues.apache.org/jira/browse/SPARK-3249
> Project: Spark
>  Issue Type: Sub-task
>  Components: Documentation, MLlib
>Affects Versions: 1.1.0
>Reporter: Xiangrui Meng
>Priority: Minor
>
> If there are multiple overloaded versions of a method, we should make the 
> links more specific. Otherwise, `sbt/sbt unidoc` generates warning messages 
> like the following:
> {code}
> [warn] 
> mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:305: The 
> link target "org.apache.spark.mllib.tree.DecisionTree$#trainClassifier" is 
> ambiguous. Several members fit the target:
> [warn] (input: 
> org.apache.spark.api.java.JavaRDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
>  Int,categoricalFeaturesInfo: java.util.Map[Integer,Integer],impurity: 
> String,maxDepth: Int,maxBins: Int): 
> org.apache.spark.mllib.tree.model.DecisionTreeModel in object DecisionTree 
> [chosen]
> [warn] (input: 
> org.apache.spark.rdd.RDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
>  Int,categoricalFeaturesInfo: Map[Int,Int],impurity: String,maxDepth: 
> Int,maxBins: Int): org.apache.spark.mllib.tree.model.DecisionTreeModel in 
> object DecisionTree
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-3249) Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`

2014-09-08 Thread Xiangrui Meng (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-3249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14126191#comment-14126191
 ] 

Xiangrui Meng commented on SPARK-3249:
--

I think we should point to the one with the most parameters, which usually 
comes with the complete documentation.

 Fix links in ScalaDoc that cause warning messages in `sbt/sbt unidoc`
 -

 Key: SPARK-3249
 URL: https://issues.apache.org/jira/browse/SPARK-3249
 Project: Spark
  Issue Type: Sub-task
  Components: Documentation, MLlib
Affects Versions: 1.1.0
Reporter: Xiangrui Meng
Priority: Minor

 If there are multiple overloaded versions of a method, we should make the 
 links more specific. Otherwise, `sbt/sbt unidoc` generates warning messages 
 like the following:
 {code}
 [warn] 
 mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala:305: The 
 link target org.apache.spark.mllib.tree.DecisionTree$#trainClassifier is 
 ambiguous. Several members fit the target:
 [warn] (input: 
 org.apache.spark.api.java.JavaRDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
  Int,categoricalFeaturesInfo: java.util.Map[Integer,Integer],impurity: 
 String,maxDepth: Int,maxBins: Int): 
 org.apache.spark.mllib.tree.model.DecisionTreeModel in object DecisionTree 
 [chosen]
 [warn] (input: 
 org.apache.spark.rdd.RDD[org.apache.spark.mllib.regression.LabeledPoint],numClassesForClassification:
  Int,categoricalFeaturesInfo: Map[Int,Int],impurity: String,maxDepth: 
 Int,maxBins: Int): org.apache.spark.mllib.tree.model.DecisionTreeModel in 
 object DecisionTree
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org