- All Implemented Interfaces:
- Serializable, HasDisplayData
- Enclosing class:
- GameStats
public static class GameStats.CalculateSpammyUsers
extends PTransform<PCollection<KV<String,Integer>>,PCollection<KV<String,Integer>>>
Filter out all but those users with a high clickrate, which we will consider as 'spammy' uesrs.
We do this by finding the mean total score per user, then using that information as a side
input to filter out all but those user scores that are > (mean * SCORE_WEIGHT)
- See Also:
- Serialized Form