Home > FRIT > SURE_LS.m

SURE_LS

PURPOSE ^

SYNOPSIS ^

function out=SURE_LS(fis,obs,AntecedentDimensionWeight)

DESCRIPTION ^

 Calculates the conclusion by the method 
 SURE-LS Single rUle REasoning based on the method of Least Squares

 -------------------------------------------------------------------------
 Parameters
 -------------------------------------------------------------------------
 fis - structure describing the fuzzy inference system.
       The partitions are normalized.
       The structure of the FIS is the following:
       fis--name
          |-type
          |-andMethod
          |-orMethod
          |-defuzzMethod
          |-impMethod
          |-aggMethod
          |-RPtype
          |-input(i)--name
          |         |-range
          |         |-RangeLength
          |         |-Offset
          |         |-mf(j)--name
          |                |-type
          |                |-params
          |                |-shiftedparams
          |                |-paramsy
          |                |-RPx
          |                |-RPy
          |                |-dx
          |                |-rho
          |-InterpolatedAntecedent(i)--RPx
          |                          |-RPy
          |                          |-type
          |                          |-name
          |                          |-params
          |                          |-paramsy
          |                          |-(LeftPointsx)
          |                          |-(LeftPointsy)
          |                          |-(RightPointsx)
          |                          |-(RightPointsy)
          |-output(k)--name
          |          |-range
          |          |-mf(l)--name
          |                 |-type
          |                 |-params
          |                 |-paramsy
          |                 |-RPx
          |                 |-RPy
          |-InterpolatedConsequent(i)--RPx
          |                          |-RPy
          |                          |-type
          |                          |-name
          |                          |-params
          |                          |-paramsy
          |                          |-(LeftPointsx)
          |                          |-(LeftPointsy)
          |                          |-(RightPointsx)
          |                          |-(RightPointsy)
          |-rule(m)--antecedent
          |        |-consequent
          |        |-weight
          |        |-connection

 obs - structure describing the observation.
       The structure of the observation is the following
       obs--name
          |-RPtype
          |-mf(i)--name
                 |-type
                 |-params
                 |-paramsy
                 |-RPx
                 |-RPy

 AntecedentDimensionWeight -the weighting of the antecedent dimensions
          AntecedentDimensionWeight--Type
                                   |           (in case of weight type 1 
                                   |            all dimensions have 
                                   |            the same weight equal to 1) 
                                   |-we        (in case of weight type 2
                                                in this case we is an
                                                array)
 -------------------------------------------------------------------------
 Returned values
 -------------------------------------------------------------------------
 out - structure describing the fuzzy inference system and the conclusion.
       The partitions are normalized.
       The structure of the FIS is the following:
       out--name
          |-type
          |-andMethod
          |-orMethod
          |-defuzzMethod
          |-impMethod
          |-aggMethod
          |-RPtype
          |-aCuts
          |-we
          |-input(i)--name
          |         |-range
          |         |-RangeLength
          |         |-Offset
          |         |-mf(j)--name
          |                |-type
          |                |-params
          |                |-shiftedparams
          |                |-paramsy
          |                |-RPx
          |                |-RPy
          |                |-dx
          |                |-rho
          |-InterpolatedAntecedent(i)--RPx
          |                          |-RPy
          |                          |-type
          |                          |-name
          |                          |-params
          |                          |-paramsy
          |                          |-inf
          |                          |-sup
          |                          |-(LeftPointsx)
          |                          |-(LeftPointsy)
          |                          |-(RightPointsx)
          |                          |-(RightPointsy)
          |-output(k)--name
          |          |-range
          |          |-mf(l)--name
          |                 |-type
          |                 |-params
          |                 |-paramsy
          |                 |-RPx
          |                 |-RPy
          |-InterpolatedConsequent(i)--RPx
          |                          |-RPy
          |                          |-type
          |                          |-name
          |                          |-params
          |                          |-paramsy
          |                          |-inf
          |                          |-sup
          |                          |-(LeftPointsx)
          |                          |-(LeftPointsy)
          |                          |-(RightPointsx)
          |                          |-(RightPointsy)
          |-d(i)--dL
          |     |-dR
          |-adL
          |-adR
          |-InterpolatedConclusion(i)--RPx
          |                          |-RPy
          |                          |-name
          |                          |-type
          |                          |-params
          |                          |-paramsy
          |                          |-inf
          |                          |-sup
          |
          |-rule(m)--antecedent
          |        |-consequent
          |        |-weight
          |        |-connection    
 -------------------------------------------------------------------------
 Remarks
 -------------------------------------------------------------------------

CROSS-REFERENCE INFORMATION ^

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