[R] number of rules

2010-04-26 Thread fascob
Hello, I have > JRip(Species ~ ., data = iris) JRIP rules: === (Sepal.Width <= 2.9) and (Petal.Width <= 1.6) => Species=versicolor (39.0/5.0) (Petal.Length >= 4.1) and (Petal.Width <= 1.7) => Species=versicolor (17.0/2.0) (Petal.Length >= 4.8) => Species=virginica (46.0/1.0) => Specie

[R] Rule Induction

2010-04-01 Thread fascob
Hi, I want to produce some rules (for example with JRip, M5Rules, OneR, PART, ect.) with R and then work with produced rules. Does anyone know how to work with the rules? Regards, fascob -- View this message in context: http://n4.nabble.com/Rule-Induction-tp1747834p1747834.html Sent from

[R] How to work with the result of JRip?

2010-03-31 Thread fascob
Hello, I want to work with the result of JRip, but I don't know how to access it. I produce a rule like below: > rule = JRip(Cls ~., data=dd) The result is: JRIP rules: === (C7 <= 1) => Cls=TRUE (384.0/0.0) => Cls=FALSE (1344.0/0.0) \par Number of Rules : 2 I want to work with