@@ -23,10 +23,13 @@ import java.util.Arrays.binarySearch
2323
2424import scala .collection .mutable .ArrayBuffer
2525
26+ import org .apache .spark .annotation .Experimental
2627import org .apache .spark .api .java .{JavaDoubleRDD , JavaRDD }
2728import org .apache .spark .rdd .RDD
2829
2930/**
31+ * :: Experimental ::
32+ *
3033 * Regression model for isotonic regression.
3134 *
3235 * @param boundaries Array of boundaries for which predictions are known.
@@ -35,6 +38,7 @@ import org.apache.spark.rdd.RDD
3538 * Results of isotonic regression and therefore monotone.
3639 * @param isotonic indicates whether this is isotonic or antitonic.
3740 */
41+ @ Experimental
3842class IsotonicRegressionModel (
3943 val boundaries : Array [Double ],
4044 val predictions : Array [Double ],
@@ -123,21 +127,26 @@ class IsotonicRegressionModel (
123127}
124128
125129/**
130+ * :: Experimental ::
131+ *
126132 * Isotonic regression.
127133 * Currently implemented using parallelized pool adjacent violators algorithm.
128134 * Only univariate (single feature) algorithm supported.
129135 *
130136 * Sequential PAV implementation based on:
131137 * Tibshirani, Ryan J., Holger Hoefling, and Robert Tibshirani.
132138 * "Nearly-isotonic regression." Technometrics 53.1 (2011): 54-61.
133- * Available from http://www.stat.cmu.edu/~ryantibs/papers/neariso.pdf
139+ * Available from [[ http://www.stat.cmu.edu/~ryantibs/papers/neariso.pdf ]]
134140 *
135141 * Sequential PAV parallelization based on:
136142 * Kearsley, Anthony J., Richard A. Tapia, and Michael W. Trosset.
137143 * "An approach to parallelizing isotonic regression."
138144 * Applied Mathematics and Parallel Computing. Physica-Verlag HD, 1996. 141-147.
139- * Available from http://softlib.rice.edu/pub/CRPC-TRs/reports/CRPC-TR96640.pdf
145+ * Available from [[http://softlib.rice.edu/pub/CRPC-TRs/reports/CRPC-TR96640.pdf ]]
146+ *
147+ * @see [[http://en.wikipedia.org/wiki/Isotonic_regression Isotonic regression (Wikipedia) ]]
140148 */
149+ @ Experimental
141150class IsotonicRegression private (private var isotonic : Boolean ) extends Serializable {
142151
143152 /**
0 commit comments