org.apache.spark.mllib.regression
Array of boundaries for which predictions are known. Boundaries must be sorted in increasing order.
Array of predictions associated to the boundaries at the same index. Results of isotonic regression and therefore monotone.
indicates whether this is isotonic or antitonic.
Array of boundaries for which predictions are known.
Array of boundaries for which predictions are known. Boundaries must be sorted in increasing order.
indicates whether this is isotonic or antitonic.
Predict a single label.
Predict a single label. Using a piecewise linear function.
Feature to be labeled.
Predicted label. 1) If testData exactly matches a boundary then associated prediction is returned. In case there are multiple predictions with the same boundary then one of them is returned. Which one is undefined (same as java.util.Arrays.binarySearch). 2) If testData is lower or higher than all boundaries then first or last prediction is returned respectively. In case there are multiple predictions with the same boundary then the lowest or highest is returned respectively. 3) If testData falls between two values in boundary array then prediction is treated as piecewise linear function and interpolated value is returned. In case there are multiple values with the same boundary then the same rules as in 2) are used.
Predict labels for provided features.
Predict labels for provided features. Using a piecewise linear function.
Features to be labeled.
Predicted labels.
Predict labels for provided features.
Predict labels for provided features. Using a piecewise linear function.
Features to be labeled.
Predicted labels.
Array of predictions associated to the boundaries at the same index.
Array of predictions associated to the boundaries at the same index. Results of isotonic regression and therefore monotone.
:: Experimental ::
Regression model for isotonic regression.