Simpler Rules in M5Rules?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Simpler Rules in M5Rules?

achar
Hello all,

I am using M5Rules on some data to predict a numeric column. Some times, I
get rules like the following

Rule: 1
IF
        attribute1 > 9.5
        attribute2  <= 0.375
        attribute3 > 9.375
        attribute2 <= 0.125

THEN
...

I can see that the second line "attribute2  <= 0.375" can be omitted because
it is covered by the fourth line, "attribute2 <= 0.125". Is there an
automated way to simplify the expressions?

TIA,




--
Sent from: https://weka.8497.n7.nabble.com/
_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to: To unsubscribe send an email to [hidden email]
To subscribe, unsubscribe, etc., visit
https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: Simpler Rules in M5Rules?

Eibe Frank-2
Administrator

No, unfortunately, there is currently no automatic way to simplify that kind of output with redundant conditions.

 

Cheers,

Eibe

 

From: [hidden email]
Sent: Tuesday, 29 October 2019 7:44 AM
To: [hidden email]
Subject: [Wekalist] Simpler Rules in M5Rules?

 

Hello all,

 

I am using M5Rules on some data to predict a numeric column. Some times, I

get rules like the following

 

Rule: 1

IF

       attribute1 > 9.5

       attribute2  <= 0.375

       attribute3 > 9.375

       attribute2 <= 0.125

 

THEN

...

 

I can see that the second line "attribute2  <= 0.375" can be omitted because

it is covered by the fourth line, "attribute2 <= 0.125". Is there an

automated way to simplify the expressions?

 

TIA,

 

 

 

 

--

Sent from: https://weka.8497.n7.nabble.com/

_______________________________________________

Wekalist mailing list -- [hidden email]

Send posts to: To unsubscribe send an email to [hidden email]

To subscribe, unsubscribe, etc., visit

https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz

List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

 


_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to: To unsubscribe send an email to [hidden email]
To subscribe, unsubscribe, etc., visit
https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html