Description Usage Arguments Value
keras_multi_cnn
1 2 3 | keras_multi_cnn(input_dim, embed_dim = 128, seq_len = 50,
filter_sizes = c(1, 2, 3, 4), n_filters = 50, output_dim = 1,
output_fun = "sigmoid")
|
input_dim |
Number of unique vocabluary/tokens |
embed_dim |
Number of word vectors |
seq_len |
Length of the input sequences |
n_filters |
the number of convolutional filters |
output_dim |
Number of neurons of the output layer |
output_fun |
Output activation function |
filter_size |
the window size (kernel_size) |
keras model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.