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(int s,
myDataset train,
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(int s, myDataset train, int w, int min_positives, int min_negatives)
s
- example index that is being analyzed.train
- given training datasetw
- rules reduction parameter.min_positives
- minimum number of positives.min_negatives
- minimum number of negatives.