Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15999#discussion_r89451946
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/mllib/regression/IsotonicRegression.scala 
---
    @@ -238,23 +238,22 @@ object IsotonicRegressionModel extends 
Loader[IsotonicRegressionModel] {
      * Sequential PAV implementation based on:
      * Tibshirani, Ryan J., Holger Hoefling, and Robert Tibshirani.
      *   "Nearly-isotonic regression." Technometrics 53.1 (2011): 54-61.
    - *   Available from 
[[http://www.stat.cmu.edu/~ryantibs/papers/neariso.pdf]]
    + *   Available from <a 
href="http://www.stat.cmu.edu/~ryantibs/papers/neariso.pdf";>here</a>
      *
      * Sequential PAV parallelization based on:
      * Kearsley, Anthony J., Richard A. Tapia, and Michael W. Trosset.
      *   "An approach to parallelizing isotonic regression."
      *   Applied Mathematics and Parallel Computing. Physica-Verlag HD, 1996. 
141-147.
    - *   Available from 
[[http://softlib.rice.edu/pub/CRPC-TRs/reports/CRPC-TR96640.pdf]]
    + *   Available from <a 
href="http://softlib.rice.edu/pub/CRPC-TRs/reports/CRPC-TR96640.pdf";>here</a>
      *
    - * @see [[http://en.wikipedia.org/wiki/Isotonic_regression Isotonic 
regression (Wikipedia)]]
    + * @see <a 
href="http://en.wikipedia.org/wiki/Isotonic_regression";>Isotonic regression
    + * (Wikipedia)</a>
      */
     @Since("1.3.0")
     class IsotonicRegression private (private var isotonic: Boolean) extends 
Serializable {
     
       /**
        * Constructs IsotonicRegression instance with default parameter 
isotonic = true.
    -   *
    -   * @return New instance of IsotonicRegression.
    --- End diff --
    
    javadoc complains about `@return` for class.
    
    ```
    [error] 
.../java/org/apache/spark/mllib/regression/IsotonicRegression.java:27: error: 
invalid use of @return
    [error]    * @return New instance of IsotonicRegression.
    [error]      ^
    ```


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