flagg19
flagg19

Reputation: 1782

Understanding a part of JRip rule-based classifier output

I've run JRip and i got a set of rules in this form:

                                                                      |
                                                                      V
(something >= 0.076) and (someotherthing >= 0.013) => class=1 (944.0/42.0)

I'm tring to understand what the numbers 944.0 and 42.0 mean. Almost sure 944.0 is the number of instances covered by the rule, but I can't really undestand the second one.

Upvotes: 4

Views: 3429

Answers (2)

Adriano Rivolli
Adriano Rivolli

Reputation: 2108

The result (A/B) indicates:

  • A: the weight of all instances supported by the rule
  • B: the weight of all instances misclassified
  • (A - B): the weight of all instances correctly classified, thus A > B

Note that, if you are not using weights, each instance has weight 1, and the value represents the number of instances.

Upvotes: 0

makak
makak

Reputation: 397

the 2nd number is number of instances misclassified by rule

Upvotes: 4

Related Questions