Algorithm 3: FIS using hybrid strategy. |
Input: Number of feature fields: m; Threshold: ; Dictionary of orders: . Output: Hard vector of gated unit: . Randomly initialize weights of features; Compute Gumbel-softmax of ; Get order of unit u from ;; indexes of the top-k probabilities in ; for i in do |