In this section, we describe how to incorporate the above importance measures into the training procedure of neural networks, so that it can dynamically adjust weights of positive and negative instances regarding to F-measure.
given the current model of neural networks parameterized by θ, let w β (θ) denote the relative importance of negative instances to positive instances for F β -measure.