I am building ruby on rails (ActiveRecord) horse racing application. One of the features that I would like to include in the application is the ability to identify meaningful "Angles". For example, given the following facts:
- Horse A has raced 50 times and has 30 Wins
- Jockey B was riding Horse A for 25 of Horse As 30 wins
Now, if Horse A is racing today and Jockey B is riding, I would want the system to
- Recognize the high win percentage Horse A has when Jockey B is riding
- Provide / Create some sort of alert of the "Angle".
Ideally there would be some way statistically or otherwise to define thresholds so as to avoid a lot of false positives.
Is this the sort of thing a recommendation or inference engine would be used for or is the something entirely different. Also, given what I am trying to achieve can you point me to any Gems, resources, etc that might be helpful.
Thanks for your help.