Encoding context likelihood functions as classifiers in particle filters for target tracking