A Discriminative Approach To Bayesian Filtering With Applications To Human Neural Decoding