conjunctiveRule

This class implements a single conjunctive rule learner that can predict for numeric and nominal class labels. A rule consists of antecedents "AND"ed together and the consequent (class value) for the classification/regression. In this case, the consequent is the distribution of the available classes (or mean for a numeric value) in the dataset. If the test instance is not covered by this rule, then it's predicted using the default class distributions/value of the data not covered by the rule in the training data.This learner selects an antecedent by computing the Information Gain of each antecendent and prunes the generated rule using Reduced Error Prunning (REP) or simple pre-pruning based on the number of antecedents. For classification, the Information of one antecedent is the weighted average of the entropies of both the data covered and not covered by the rule. For regression, the Information is the weighted average of the mean-squared errors of both the data covered and not covered by the rule. In pruning, weighted average of the accuracy rates on the pruning data is used for classification while the weighted average of the mean-squared errors on the pruning data is used for regression.

License

License

Categories

Categories

Weka Business Logic Libraries Machine Learning
GroupId

GroupId

nz.ac.waikato.cms.weka
ArtifactId

ArtifactId

conjunctiveRule
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

conjunctiveRule
This class implements a single conjunctive rule learner that can predict for numeric and nominal class labels. A rule consists of antecedents "AND"ed together and the consequent (class value) for the classification/regression. In this case, the consequent is the distribution of the available classes (or mean for a numeric value) in the dataset. If the test instance is not covered by this rule, then it's predicted using the default class distributions/value of the data not covered by the rule in the training data.This learner selects an antecedent by computing the Information Gain of each antecendent and prunes the generated rule using Reduced Error Prunning (REP) or simple pre-pruning based on the number of antecedents. For classification, the Information of one antecedent is the weighted average of the entropies of both the data covered and not covered by the rule. For regression, the Information is the weighted average of the mean-squared errors of both the data covered and not covered by the rule. In pruning, weighted average of the accuracy rates on the pruning data is used for classification while the weighted average of the mean-squared errors on the pruning data is used for regression.
Project URL

Project URL

http://weka.sourceforge.net/doc.packages/conjunctiveRule
Project Organization

Project Organization

University of Waikato, Hamilton, NZ
Source Code Management

Source Code Management

https://svn.cms.waikato.ac.nz/svn/weka/tags/conjunctiveRule-1.0.4

Download conjunctiveRule

How to add to project

<!-- https://jarcasting.com/artifacts/nz.ac.waikato.cms.weka/conjunctiveRule/ -->
<dependency>
    <groupId>nz.ac.waikato.cms.weka</groupId>
    <artifactId>conjunctiveRule</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/nz.ac.waikato.cms.weka/conjunctiveRule/
implementation 'nz.ac.waikato.cms.weka:conjunctiveRule:1.0.4'
// https://jarcasting.com/artifacts/nz.ac.waikato.cms.weka/conjunctiveRule/
implementation ("nz.ac.waikato.cms.weka:conjunctiveRule:1.0.4")
'nz.ac.waikato.cms.weka:conjunctiveRule:jar:1.0.4'
<dependency org="nz.ac.waikato.cms.weka" name="conjunctiveRule" rev="1.0.4">
  <artifact name="conjunctiveRule" type="jar" />
</dependency>
@Grapes(
@Grab(group='nz.ac.waikato.cms.weka', module='conjunctiveRule', version='1.0.4')
)
libraryDependencies += "nz.ac.waikato.cms.weka" % "conjunctiveRule" % "1.0.4"
[nz.ac.waikato.cms.weka/conjunctiveRule "1.0.4"]

Dependencies

compile (1)

Group / Artifact Type Version
nz.ac.waikato.cms.weka : weka-dev jar [3.7.1,)

test (2)

Group / Artifact Type Version
nz.ac.waikato.cms.weka : weka-dev test-jar [3.7.1,)
junit : junit jar 3.8.2

Project Modules

There are no modules declared in this project.

Versions

Version
1.0.4
1.0.2
1.0.1