Create 1-Dimensional Convolutional Network model object

create_conv1d_model(max_words, embedding_dim, maxlen, conv1d_filters,
  conv1d_kernel_size, conv1d_pool_size)

Arguments

max_words

Maximum number of words to consider using word frequency measure.

embedding_dim

Output dimension of the embedding layer.

maxlen

Maximum length of a sequence.

conv1d_filters

Number of filters i.e. output dimension for convolution layers.

conv1d_kernel_size

Window size for convolution layers.

conv1d_pool_size

Pool size for max pooling.

Value

1-Dimensional Convolutional Network model object