I am working on a project that involves recognizing gestures people perform during interaction with a fur-like prototype made up of conductive threads. These gestures could include patting, stroking, scratching, etc. I'd like to try a machine learning approach from my Arduino code (possibly a Hidden Markov model using sequences of circuit resistance as input data, or a neural network using total resistance change and other temporal circuit attributes as features).
First, I was thinking about using Weka, is that a reasonable choice for implementing data mining routines from Arduino?
Second, if it does make sense to use Weka with Arduino, is there any sample code someone could direct me to? I've looked but so far haven't been able to find any myself.