title: How to extract the decision rules from scikit-learn decision-tree?
body: <p>Can I extract the underlying decision-rules (or 'decision paths') from a trained tree in a decision tree as a textual list?</p>
  <p>Something like:</p>
  <pre><code>if A&gt;0.4 then if B&lt;0.2 then if C&gt;0.8 then class='X'
  </code></pre>