layer_topN_max_pooling: Top max-pooled hits

Description Usage Arguments Value Author(s) See Also

Description

Calculate the top N motif hits max-pooled over the entire sequence. This function uses the keras k_max function which internally converts the input to its pre-activation scale. Therefore we recommend using the linear activation for the layer feeding into this one and then using the layer_activation function after the operation.

Usage

1
layer_topN_max_pooling(object, n_max, name = NULL)

Arguments

object

Keras model.

n_max

Number of top hits to return.

name

Layer name (optional).

Value

Top max-pooled hits layer.

Author(s)

Matthew Ploenzke, ploenzke@g.harvard.edu

See Also

topN_max_pooling


mPloenzke/learnMotifs documentation built on May 27, 2019, 11:55 a.m.