This question was raised, when I tried to merge decision tree rules.

For example,

     1. Given one combination of logical operators:
     1a. 'A>1 and B=2 and A>3' should be pruned to 'A>3 and B=2';

     1b. 'A="abc"<0.5 and B=2 and A="xyz">=0.5' should be pruned to 'B=2
and A="xyz"', where A="xyz" is evaluated to 1, and 1>=0.5 is true

     2. Given a list of logical operators:
       ['A="abc"<0.5 and A="xyz">=0.5 and B', 'A="abc"<0.5 and B and
A="xyz">=0.5'] should be pruned to ['A="xyz" and B']

Any tips how to merge and deduplicate the equivalent logical relations?
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to