rectified_cdf | R Documentation |
Computes the rectified CDF of the data.
rectified_cdf(Y_l, f_l, f_u, grid, w_l = NULL, w_u = NULL)
Y_l |
(vector): Gold-standard labels. |
f_l |
(vector): Predictions corresponding to the gold-standard labels. |
f_u |
(vector): Predictions corresponding to the unlabeled data. |
grid |
(vector): Grid of values to compute the CDF at. |
w_l |
(vector, optional): Sample weights for the labeled data set. |
w_u |
(vector, optional): Sample weights for the unlabeled data set. |
(vector): Rectified CDF of the data at the specified grid points.
Y_l <- c(1, 2, 3, 4, 5)
f_l <- c(1.1, 2.2, 3.3, 4.4, 5.5)
f_u <- c(1.2, 2.3, 3.4)
grid <- seq(0, 6, by = 0.5)
rectified_cdf(Y_l, f_l, f_u, grid)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.