| indid_predict | R Documentation |
Runs an indid() model on sequences and returns, for every
sequence and time step, the probability that a change has happened.
indid_predict(model, x)
model |
An |
x |
Sequences, in the formats accepted by |
A matrix [sequence, time] of probabilities.
set.seed(1)
x <- matrix(stats::rnorm(20 * 16, 1), 20)
labels <- matrix(0, 20, 16)
model <- indid(x, labels, T = 4, epochs = 2, seed = 1)
dim(indid_predict(model, x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.