Home > FRIT > FEAT_LS.m

FEAT_LS

PURPOSE ^

SYNOPSIS ^

function [IntSets,Side]=FEAT_LS(fis,st,Part,Weight)

DESCRIPTION ^

 Fuzzy set interpolation by the method of least squares

 -------------------------------------------------------------------------
 Parameters

 fis    - the main data structure. It should contain the
          following fields:
       fis--name
          |-type
          |-andMethod
          |-orMethod
          |-defuzzMethod
          |-impMethod
          |-aggMethod
          |-RPtype
          |-input(i)--name
          |          |-range
          |          |-RangeLength
          |          |-mf(j)--name
          |                 |-type
          |                 |-params
          |                 |-paramsy
          |                 |-RPx
          |                 |-RPy
          |                 
          |-output(k)--name
          |          |-range
          |          |-RangeLength
          |          |-mf(l)--name
          |                 |-type
          |                 |-params
          |                 |-paramsy
          |                 |-RPx
          |                 |-RPy
          |-rule(m)--antecedent
          |        |-consequent
          |        |-weight
          |        |-connection
 st     - can be obs or concl depending on Part. It should have the
          following fields:
            st(i)--name
                 |-type
                 |-params
                 |-paramsy
                 |-RPx
                 |-RPy
 Part   - can be 'antecedent' or 'consequent'
          It indicates which part of the new rule are we interpolating.
 Weight - structure containing information about the weighting of the
          linguistic terms of the partition. It should have the
          following fields:
          Weight--Type
                |-p      (in case of Weight type 1)
                |-lambda (in case of Weight type 2)
 -------------------------------------------------------------------------
 -------------------------------------------------------------------------
 Returned values
 -------------------------------------------------------------------------
 IntSets   - an array containing the interpolated sets
             IntSets(i)--RPx
                       |-RPy
                       |-name
                       |-type
                       |-params
                       |-paramsy
                       |-(LeftPointsx)
                       |-(LeftPointsy)
                       |-(RightPointsx)
                       |-(RightPointsy)
             In case of a coincidence between the position of the 
             interpolation and the position of an original linguistic 
             term of the partition the terms in pharanteses are not 
             present.
 Side - an array containing the input or output dimensions depending 
             on the interpolation task and the shifted sets
                  Side(i)--name
                         |-range
                         |-RangeLength
                         |-mf(j)--name
                                |-type
                                |-params
                                |-paramsy
                                |-RPx
                                |-RPy
                                |-dx
                                |-shiftedparams
                                |-(w)
                                |-(LeftPointsx)
                                |-(LeftPointsy)
                                |-(RightPointsx)
                                |-(RightPointsy)
             In case of a coincidence between the position of the 
             interpolation and the position of an original linguistic 
             term of the partition the terms in pharateses are not 
             present.
 -------------------------------------------------------------------------
 Remarks
 -------------------------------------------------------------------------
 At this time only the -- reference point type "corecentre" is allowed.
                       |- weight types 1 and 2 are implemented
                       |- membership function types: singlmf, trimf,
                          trapmf and polymf are implemented because  
                          LPRP2Params implements only these shape types
 -------------------------------------------------------------------------


 Zsolt Csaba Johanyák, johanyak.csaba@gamf.kefo.hu, v. 1.1,  18. October 2006.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 05-Sep-2008 09:37:47 by m2html © 2005