create_model {processpredictR} | R Documentation |
Define transformer model
Description
Defines the model using the keras functional API. The following 4 process monitoring tasks are defined:
outcome
next_activity
next_time
remaining_time
remaining_trace
remaining_trace_s2s
Usage
create_model(
x_train,
custom = FALSE,
num_heads = 4,
output_dim_emb = 36,
dim_ff = 64,
...
)
Arguments
x_train |
|
custom |
|
num_heads |
A number of attention heads of the |
output_dim_emb |
Dimension of the dense embedding of the |
dim_ff |
Dimensionality of the output space of the feedforward network part of the model ( |
... |
you can pass additional arguments to |
Value
An object of class ppred_model
and list
containing a Transformer model (returned by keras::keras_model()
) and some additional useful metrics.
[Package processpredictR version 0.1.0 Index]