--emb_msg_aggregation
Switch
--emb_msg_aggregation aggregation_method
Description
Specify the aggregation function to apply over embedded messages to produce a single embedding of the group_id (-g).
Argument and Default Value
Default: mean.
Details
Any method that can be called as np.method(bertMessageVectors, axis=0).
Other Switches
Required Switches:
Optional Switches:
fwflag_emb_layer_aggregation
Example Commands
Creates a BERT feature table with messages aggregated by selecting the median.
dlatkInterface.py -d dla_tutorial -t msgs -c user_id --add_emb_feat --emb_model bert-large-uncased --emb_msg_aggregation median