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
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
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
3 matches
Mail list logo