Learning Informative Statistics: A Nonparametnic Approach