AP prediction thread