Distinguishing Behavior From Highly Variable Neural Recordings Using Machine Learning