Description Usage Arguments Value See Also
View source: R/seq_generator.R
seq_gen3
generates action sequences according to a recurrent neural network
1 2 3 4 |
n |
An integer. The number of action sequences to be generated. |
events |
A character vector specifying the set of |
rnn_type |
the type of recurrent unit to be used for generating sequences.
|
K |
the latent dimension of the recurrent unit. |
weights |
a list containing the weights in the embedding layer, the recurrent unit, the fully connected layer. If not (properly) specified, randomly generated weights are used. |
max_len |
Maximum length of generated sequences. |
initial_state |
a list containing the initial state of the recurrent neural
network. If |
start_index |
Index of the action indicating the start of an item in
|
end_index |
Index of the action indicating the end of an item in
|
include_time |
logical. Indicate if timestamp sequences should be generated. Default is FALSE. |
time_intv_dist |
A list specifying the distribution of the inter-arrival time. |
A list containing the following elements
seqs |
an object of class |
weights |
a list containing the weights used for generating sequences. |
Other sequence generators: seq_gen2
,
seq_gen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.