Description Usage Arguments Value References See Also
subtask_analysis
performs subtask identification procedure.
1 2 3 4 | subtask_analysis(action_seqs, lambda = 0.3, n_subtask, rnn_dim = 20,
n_epoch = 20, step_size = 0.001, batch_size = 1,
optimizer_name = "rmsprop", index_valid = 0.2, verbose = FALSE,
...)
|
action_seqs |
a list of action sequences |
lambda |
a number between 0 and 1 |
n_subtask |
the desired number of subtasks or a vector of candidate number of subtasks |
rnn_dim |
latent dimension of RNN |
n_epoch |
the number of training epochs. |
step_size |
the learning rate of optimizer. |
batch_size |
the batch size used in training. |
optimizer_name |
a character string specifying the optimizer to be used
for training. Availabel options are |
index_valid |
proportion of sequences used as the validation set or a vector of indices specifying the validation set. |
verbose |
logical. If TRUE, training progress is printed. |
... |
additional arguments passed to |
an object of class "subtask"
. It is a list containing
action_seqs |
a list of action sequences |
entropy_seqs |
a list of entropy sequences |
seg_seqs |
a list of segment boundaries |
subtask_seqs |
a list of subtask sequences |
subtasks |
a vector of subtasks |
n_subtask |
the number of subtasks |
tot.withinss |
a vector of total within cluster sum of squares |
relative_cluster_profiles |
a |
loss_history |
a |
rnn_dim |
the latent dimension of the recurrent neural network |
model_fit |
a vector of class |
actions |
a vector of the actions in |
max_len |
maximum length of the action sequences. |
Wang, Z., Tang, X., Liu, J., and Ying, Z. (2020) Subtask analysis of process data through a predictive model. https://arxiv.org/abs/2009.00717
action2entropy
, entropy2segment
, and
segment2subtask
for the three steps of subtask analysis.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.