public class InduceOneRule
extends java.lang.Object
Title: Induce One Rule
Description: This class finds the best rule posible for an example of the given dataset.
Company: KEEL
Constructor and Description |
---|
InduceOneRule() |
Modifier and Type | Method and Description |
---|---|
static Regla |
induce_One_Rule(Instances instances,
int clases,
int w,
int min_positives,
int min_negatives)
Returns the best rule posible for an example of the given dataset.
|
public static Regla induce_One_Rule(Instances instances, int clases, int w, int min_positives, int min_negatives)
instances
- given training datasetclases
- number of classes.w
- rules reduction parameter.min_positives
- minimum number of positives.min_negatives
- minimum number of negatives.