public class RuleBase_Sel
extends java.lang.Object
It encodes a Rule Base for the simplification process
Modifier and Type | Field and Description |
---|---|
keel.Algorithms.Fuzzy_Rule_Learning.Genetic.ClassifierMOGUL.Rule[] |
BaseReglas
Rules Array that represents the rulebase.
|
double[] |
GradoEmp
Empirical Grade for each rule.
|
int |
max_reglas
Maximum number of rules.
|
char[] |
modificador
Modifiers representations.
|
int |
n_etiquetas
Type of fuzzy rules identifier.
|
int |
n_reglas
Number of total rules.
|
MyDataset |
tabla
Dataset.
|
int |
tipo_modificadores
Type of fuzzy rules identifier.
|
int |
tipo_reglas
Type of fuzzy rules identifier.
|
Constructor and Description |
---|
RuleBase_Sel(int Max_reglas,
MyDataset datos,
int tipo1,
int tipo2,
int num_etiq)
Constructor
|
RuleBase_Sel(java.lang.String fichero,
MyDataset datos,
int tipo1,
int tipo2,
int num_etiq)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
BRtoString()
Prints the RB to a String
|
double |
Fuzzification(double X,
keel.Algorithms.Fuzzy_Rule_Learning.Genetic.ClassifierMOGUL.FuzzySet D)
Fuzzification Interface
|
void |
leer_BR(java.lang.String fichero)
Reads the previous learned RB from a input file
|
void |
Min(double[] entradas)
Minimum T-norm
|
public keel.Algorithms.Fuzzy_Rule_Learning.Genetic.ClassifierMOGUL.Rule[] BaseReglas
public char[] modificador
public int max_reglas
public int tipo_reglas
public int tipo_modificadores
public int n_etiquetas
public int n_reglas
public MyDataset tabla
public double[] GradoEmp
public RuleBase_Sel(java.lang.String fichero, MyDataset datos, int tipo1, int tipo2, int num_etiq)
Constructor
fichero
- String The name of the file containing the previous learned RBdatos
- MyDataset The set of examplestipo1
- int The type of fuzzy ruletipo2
- int The type of liguistic modifiernum_etiq
- int The number of liguistic labels per variablepublic RuleBase_Sel(int Max_reglas, MyDataset datos, int tipo1, int tipo2, int num_etiq)
Constructor
Max_reglas
- The maximum number of rules in the RBdatos
- MyDataset The set of examplestipo1
- int The type of fuzzy ruletipo2
- int The type of liguistic modifiernum_etiq
- int The number of liguistic labels per variablepublic void leer_BR(java.lang.String fichero)
Reads the previous learned RB from a input file
fichero
- String The name of the file containing the learned RBpublic double Fuzzification(double X, keel.Algorithms.Fuzzy_Rule_Learning.Genetic.ClassifierMOGUL.FuzzySet D)
Fuzzification Interface
X
- double The value of the exampleD
- FuzzySet The fuzzy setpublic void Min(double[] entradas)
Minimum T-norm
entradas
- double[] The given examplepublic java.lang.String BRtoString()
Prints the RB to a String