Description Usage Arguments See Also Examples
This slot stores the input data for trained model.
1 2 | ## S4 method for signature 'nblda'
inputs(object)
|
object |
an |
1 2 3 4 5 6 7 8 9 10 11 12 | set.seed(2128)
counts <- generateCountData(n = 20, p = 10, K = 2, param = 1, sdsignal = 0.5, DE = 0.8,
allZero.rm = FALSE, tag.samples = TRUE)
x <- t(counts$x + 1)
y <- counts$y
xte <- t(counts$xte + 1)
ctrl <- nbldaControl(folds = 2, repeats = 2)
fit <- trainNBLDA(x = x, y = y, type = "mle", tuneLength = 10,
metric = "accuracy", train.control = ctrl)
inputs(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.