Java interface:
Learning menu, Partitions submenu, Generate a FIS without rules option.
Command line, hfpsr program:
Arguments:
Options:
Command line example:
hfpsr iris '3 3 3 3' 1 0.01 3 3 MeanMax sum 0.01
Creates the files iris.hfp, iris.vertex and iris-sr.fis with 3 fuzzy sets per input variable, the hfp hierarchy type, and a regular grid of 3 fuzzy sets for the output.
or
hfpsr iris '3 3 3 3' 2 0.01 3 3 MeanMax sum 0.01 -oiriskm.fis
Creates the files iris.hfp, iris.vertex and iriskm.fis, where the input partitions are generated by the k-means procedure.
hfpsr iris '2 2 3 3' 3 0 0 3 sugeno sum 0 -oirisreg.fis -f
Creates the files iris.hfp, iris.vertex and irisreg.fis, with 2 MF regular grids for the fist two inputs, 3 MF regular grids for the other two, and a crisp classification output.
This method requires several programs.
Java interface:
Vertices can be viewed with the View vertices option. The maximum number of vertices generated for each input is specified in the HFP (default value=7).
Command lines:
Arguments:
Two optional parameters:
Command line examples:
hfpcfg iris 1
Creates the file iris.hfp with a regular grid hierarchy
or
hfpcfg iris 1 iriskm.hfp 2
Creates the file iriskm.hfp with a k-means hierarchy.
The default generated output is crisp, with respective aggregation and defuzzification operators 'sum' and 'sugeno', and without the classification option.
These parameters can be modified by editing the iris.hfp file. For the iris data, the classification option should be chosen, as the output is a variety.
Arguments:
Two optional parameters:
Command line example:
hfpvertex iris iris.hfp
Creates the file vertices.regular, if the hierarchy is a regular grid
hfpvertex iris iriskm.hfp -oiris.vertices
Creates the file iris.vertices for the kmeans hierarchy
Arguments:
Optional parameters:
Command line example:
hfpselect iris iriskm.hfp -b0.7 -e2 -m0.3 -liris.sommets
This program creates two files called result and result.min. The first one has as many lines as the number of attempts to complexify the FIS. In the second one, only the configurations kept at each step appear
Reminder of the command lines for the partition selection procedure:
- hfpcfg iris 1 iriskm.hfp 2
- hfpvertex iris iriskm.hfp
Set the output Classif flag to 'yes' in the iriskm.hfp file.
- hfpselect iris iriskm.hfp -b0.7 -e2 -m0.3
Note: As described in the user documentation, the four fields called In1, In2, In3, In4 indicate the number of MFs per input variable.