title: Find statistical correlations in a relational database
body: <p>I have a large SQL database of associations between state features and a reward metric. e.g.</p>
  
  <pre><code>A ^ B ^ C ^ D ^ Action(E) =&gt; 0.1
  F ^ G ^ W ^ D ^ Action(R,P,H) =&gt; 0.9
  A ^ T ^ U ^ Y ^ Action(A,S) =&gt; 0.2
  </code></pre>
  
  <p>My features may be discrete, continuous, or nominal. I'm trying to find a set of rules or patterns that can be used to maximize the reward metric. What would be the best tools to use to mine this data in order to find the strongest statistical correlations (preferably written in or accessible from Python)?</p>