public class FuzzyRuleSet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected double[] |
m_b
output values of the rules
|
protected double |
m_b0
Default output value of this rule set
|
protected Kernel |
m_kernel
The Kernel associated to this Rule set
|
protected int |
m_rules
The actual number of rules
|
protected double[][] |
m_z
location parameters of the different membership functions
|
Constructor and Description |
---|
FuzzyRuleSet(SMO.BinarySMO smo,
Instances data,
Kernel kern)
Builds a new Fuzzy Rule Set from a Binary SMO
|
Modifier and Type | Method and Description |
---|---|
int |
getNumRules()
This method returns the number of rules of this Rule Set
|
double |
unthresholdedOutput(Instance inst)
This method computes the input output mapping of this rule set
|
protected double m_b0
protected double[][] m_z
protected double[] m_b
protected Kernel m_kernel
protected int m_rules
public FuzzyRuleSet(SMO.BinarySMO smo, Instances data, Kernel kern)
smo
- The reference binary SMOdata
- The data from the binary SMO was builtkern
- Kernel for the Binary SMO.public double unthresholdedOutput(Instance inst)
inst
- The input instance.public int getNumRules()