Specifically, for example x, we firstly compute its similarity to each of the representative examples, and then the probability of the example x belonging to the positive class and negative class can be calculated using the following formula: In the above formula, A scheme mixing population and individual property is designed to generate the similarity weights of spy examples.
for spy example x, their similarity weights can be obtained by the following formula: Where λ is a parameter to balance the information from population property and individual property.