Description Usage Arguments Value Author(s)
This function constructs a DeepPAM as described in Kopper et al. 2020. It combines different deep models and a structured PAM(M) to a single deep keras model.
1 2 3 4 5 6 7 8 9 |
networks_unstructured |
A list of all unstrctured deep models to be
considered in the DeepPAM. If empty, a PAM will be constructed.
Each entry of the list must be a list itself featuring two entries:
The input_layer and the net itself. For example this is a working input:
|
structured_ped |
an object of class ped_tensor constructed using from_ped_to_tensor(). This is the tensor that is used to fit the structured part of the DeepPAM. |
interactions |
Not implemented yet, thus must be FALSE. However, this argument indicates whether the separate sub networks are supposed to interact with one another. The argument should be a boolean or a matrix featuring booleans. The matrix should indicate which sub nets should interact. |
warm_start |
logical. Should the PAM part be initialised with the
values from a fit of |
trainable_structured |
logical. Should the PAM part be frozen during training (FALSE) or trainable (TRUE)? |
orthogonal |
Not implemented yet, thus must be FALSE. However, this argument indicates whether there should be an orthogonalisation (as proposed in Ruegamer et al. (2020)) layer. Either a single boolean or a vector of booleans. |
... |
potential futher arguments. |
a keras model of class "deeppam". The object can use all regular keras methods, such as compile or fit in the regular manner. However, for fitting, make use of the weights that are stored in attr(structured_ped, "weights"). More details are available in the tutorial.
Philipp Kopper
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.