Program_img2JRip_weka_nominal
This programs is part of the WEKA classifier library. The code used to generate this program is from the java class 'weka/classifiers/rules/JRip.java' from WEKA's libraries. The following description was taken from this classes JavaDoc information:

---------------------
This class implements a propositional rule learner, Repeated Incremental Pruning to Produce Error Reduction (RIPPER), which was proposed by William W. Cohen as an optimized version of IREP. The algorithm is briefly described as follows: Initialize RS = {}, and for each class from the less prevalent one to the more frequent one, DO: 1. Building stage: Repeat 1.1 and 1.2 until the descrition length (DL) of the ruleset and examples is 64 bits greater than the smallest DL met so far, or there are no positive examples, or the error rate >= 50%. 1.1. Grow phase: Grow one rule by greedily adding antecedents (or conditions) to the rule until the rule is perfect (i.e. 100% accurate). The procedure tries every possible value of each attribute and selects the condition with highest information gain: p(log(p/t)-log(P/T)). 1.2. Prune phase: Incrementally prune each rule and allow the pruning of any final sequences of the antecedents;The pruning metric is (p-n)/(p+n) -- but it's actually 2p/(p+n) -1, so in this implementation we simply use p/(p+n) (actually (p+1)/(p+n+2), thus if p+n is 0, it's 0.5). 2. Optimization stage: after generating the initial ruleset {Ri}, generate and prune two variants of each rule Ri from randomized data using procedure 1.1 and 1.2. But one variant is generated from an empty rule while the other is generated by greedily adding antecedents to the original rule. Moreover, the pruning metric used here is (TP+TN)/(P+N).Then the smallest possible DL for each variant and the original rule is computed. The variant with the minimal DL is selected as the final representative of Ri in the ruleset.After all the rules in {Ri} have been examined and if there are still residual positives, more rules are generated based on the residual positives using Building Stage again. 3. Delete the rules from the ruleset that would increase the DL of the whole ruleset if it were in it. and add resultant ruleset to RS. ENDDO Note that there seem to be 2 bugs in the original ripper program that would affect the ruleset size and accuracy slightly. This implementation avoids these bugs and thus is a little bit different from Cohen's original implementation. Even after fixing the bugs, since the order of classes with the same frequency is not defined in ripper, there still seems to be some trivial difference between this implementation and the original ripper, especially for audiology data in UCI repository, where there are lots of classes of few instances. Details please see: William W. Cohen: Fast Effective Rule Induction. In: Twelfth International Conference on Machine Learning, 115-123, 1995. PS. We have compared this implementation with the original ripper implementation in aspects of accuracy, ruleset size and running time on both artificial data "ab+bcd+defg" and UCI datasets. In all these aspects it seems to be quite comparable to the original ripper implementation. However, we didn't consider memory consumption optimization in this implementation.
---------------------

NOTE: This algorithm has no parameter tuning, it is using the default WEKA parameters

NOTE: WEKA's Classifiers read a data in the .arff format. For Multiclass datasets, the SVMlight format converted to .arff multiclass format so they can be read by WEKA programs
MulticlassClassification
internal
18M
checked
open
Login required!

Run this program on a dataset Arrow_right


Existing runs on JRip_weka_nominal 1-25 of 77 < > Action_refresh_blue
ID Program Dataset User Updated << Status Total time Memory Error
Run #8062 JRip_weka_nominal clinical_wsd kosha 43d5h ago failed 5h0m 235M
Run #7911 JRip_weka_nominal HIV identification_1 klafka 100d14h ago done 1s 223M 0.228
Run #5923 JRip_weka_nominal svmlight-example1 internal 253d16h ago failed 18m2s 243M
Run #5908 JRip_weka_nominal connect-4 internal 253d16h ago failed 8m8s 235M
Run #5884 JRip_weka_nominal letter-recognition internal 253d16h ago failed 7m22s 246M
Run #5919 JRip_weka_nominal chess-krk internal 253d16h ago failed 3m13s 233M
Run #5928 JRip_weka_nominal Dexter_train internal 253d16h ago done 45s 236M 0.244
Run #5927 JRip_weka_nominal jakefootball internal 253d16h ago done 10s 31M 0.509
Run #5925 JRip_weka_nominal sample-dataset internal 253d16h ago done 1s 232M 1
Run #5926 JRip_weka_nominal sample-dataset2 internal 253d16h ago done 1s 22M 1
Run #5922 JRip_weka_nominal lung-cancer internal 253d16h ago done 1s 30M 0.800
Run #5924 JRip_weka_nominal jake-lungcancer-copy internal 253d16h ago done 2s 17M 0.800
Run #5920 JRip_weka_nominal breast-cancer-wisconsin internal 253d16h ago done 14s 31M 0.043
Run #5921 JRip_weka_nominal flags internal 253d16h ago done 8s 223M 0.414
Run #5918 JRip_weka_nominal heart-disease-cleveland internal 253d16h ago done 1s 26M 0.451
Run #5917 JRip_weka_nominal horse-colic internal 253d16h ago done 1s 31M 0.224
Run #5915 JRip_weka_nominal chess-krkp internal 253d16h ago done 1s 31M 0.015
Run #5916 JRip_weka_nominal sonar internal 253d16h ago done 1s 27M 0.242
Run #5901 JRip_weka_nominal musk-2 internal 253d16h ago done 1m27s 233M 0.051
Run #5914 JRip_weka_nominal thyroid-allrep internal 253d16h ago done 9s 31M 0.009
Run #5913 JRip_weka_nominal hayes-roth internal 253d16h ago done 1s 223M 0.275
Run #5910 JRip_weka_nominal statlog-german internal 253d16h ago done 1s 13M 0.313
Run #5911 JRip_weka_nominal glass internal 253d16h ago done 1s 230M 0.375
Run #5912 JRip_weka_nominal postoperative-patient-data internal 253d16h ago done 1s 22M 0.185
Run #5909 JRip_weka_nominal breast-cancer-wpbc internal 253d16h ago done 10s 247M 0.586




Program contents Arrow_right