Description Usage Arguments Value Examples
A plotting function for displaying Kullback-Liebler (KL) divergence across iterations of the optimization algorithm(s).
1 2 3 4 5 6 |
monitoring |
|
n_0 |
first iteration to plot. Default is 10. |
n_stop |
last iteration to plot. Default is 1000. |
title |
plot title. Default is |
a ggplot
object
1 2 3 4 5 6 7 8 9 10 11 12 13 | if(interactive()){
gold_standard_manual_prop <- c(table(HIPC_Stanford_1369_1A_labels) /
length(HIPC_Stanford_1369_1A_labels))
res <- CytOpT(X_s = HIPC_Stanford_1228_1A, X_t = HIPC_Stanford_1369_1A,
Lab_source = HIPC_Stanford_1228_1A_labels,
theta_true = gold_standard_manual_prop,
eps = 0.0001, lbd = 0.0001, n_iter = 10000, n_stoc=10,
step_grad = 10, step = 5, power = 0.99,
method='both', monitoring = TRUE)
plot(res)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.