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 97 < > Action_refresh_blue
ID Program Dataset Tuned hyper. User Updated << Status Total time Memory Error
Run #15499 JRip_weka_nominal HTTPOS Google Instant no pmc8p 201d7h ago done 3m4s 418M 0.931
Run #12489 JRip_weka_nominal Synthetic 75% Density, Large, Many Labels no yorinasub17 259d20h ago failed 5h0m 423M
Run #12488 JRip_weka_nominal Synthetic 50% Density, Large, Many Labels no yorinasub17 259d20h ago failed 5h0m 423M
Run #12483 JRip_weka_nominal isolet no yorinasub17 259d22h ago done 2h16m 423M 0.225
Run #12498 JRip_weka_nominal Synthetic 50% Density, Large, Few Labels no yorinasub17 259d23h ago done 1h25m 423M 0.507
Run #12499 JRip_weka_nominal Synthetic 75% Density, Large, Few Labels no yorinasub17 259d23h ago done 1h7m 423M 0.400
Run #12487 JRip_weka_nominal Synthetic 10% Density, Large, Many Labels no yorinasub17 259d23h ago done 1h19m 423M 0.931
Run #12520 JRip_weka_nominal statlog-satimage no yorinasub17 260d0h ago done 1m30s 423M 0.157
Run #12519 JRip_weka_nominal iris no yorinasub17 260d0h ago done 1s 416M 0.111
Run #12518 JRip_weka_nominal chess-krkp no yorinasub17 260d0h ago done 21s 423M 0.015
Run #12517 JRip_weka_nominal thyroid-dis no yorinasub17 260d0h ago done 16s 421M 0.014
Run #12516 JRip_weka_nominal thyroid-euthyroid no yorinasub17 260d0h ago done 11s 420M 0.019
Run #12515 JRip_weka_nominal vowel-context no yorinasub17 260d0h ago done 6s 423M 0.273
Run #12514 JRip_weka_nominal musk-2 no yorinasub17 260d0h ago done 3m52s 423M 0.051
Run #12513 JRip_weka_nominal statlog-segment no yorinasub17 260d0h ago done 11s 420M 0.033
Run #12512 JRip_weka_nominal annealing no yorinasub17 260d0h ago done 6s 420M 0
Run #12511 JRip_weka_nominal breast-cancer-wdbc no yorinasub17 260d0h ago done 43s 421M 1
Run #12510 JRip_weka_nominal pssmOfprotein no yorinasub17 260d0h ago done 11m18s 423M 0.526
Run #12509 JRip_weka_nominal primary-tumor no yorinasub17 260d0h ago done 5s 420M 0.598
Run #12508 JRip_weka_nominal breast-cancer-wpbc no yorinasub17 260d0h ago done 6s 420M 0.586
Run #12507 JRip_weka_nominal best-algorithms-2011-02-15 no yorinasub17 260d0h ago done 1s 416M 0.909
Run #12506 JRip_weka_nominal transientsClassification no yorinasub17 260d0h ago failed 17s 416M
Run #12505 JRip_weka_nominal molecular-biology-splice no yorinasub17 260d0h ago done 1m35s 423M 0.055
Run #12504 JRip_weka_nominal waveform no yorinasub17 260d0h ago done 32s 423M 0.215
Run #12503 JRip_weka_nominal thyroid-ann no yorinasub17 260d0h ago done 16s 416M 0.007




Program contents Arrow_right