Description Slots Note Author(s) See Also Examples
Represent a concrete NormalizedGaussianMF shaped [0,1] Membership Function S4 class with parameters mu, sigma. Slots inherited of MembershipFunction class and related functions: show, print, derivateMF, evaluateMF, [ and [<-.
parameters
named numeric vector with parameters of Membership Function.
nParameters
integer with the number of parameters for validity check.
name
character The description of the membership function.
expression
expression object just to display purposes.
derivateMF, evaluateMF are extended. Prototype is defined and validity is inherited.
Cristobal Fresno cfresno@bdmg.com.ar, Andrea S. Llera ALlera@leloir.org.ar and Elmer A. Fernandez efernandez@bdmg.com.ar
BellMF-class
and GaussianMF-class
Other Membership Functions: BellMF
,
BellMF-class
; GaussianMF
,
GaussianMF-class
;
MembershipFunction
,
MembershipFunction-class
;
[,MembershipFunction-method
,
[<-,MembershipFunction-method
,
extract-methods
,
extract-methods
; derivateMF
,
derivateMF
, derivateMF
,
derivateMF
, derivateMF
,
derivateMF,BellMF-method
,
derivateMF,GaussianMF-method
,
derivateMF,MembershipFunction-method
,
derivateMF,NormalizedGaussianMF-method
,
derivateMF-methods
;
evaluateMF
, evaluateMF
,
evaluateMF
, evaluateMF
,
evaluateMF
,
evaluateMF,BellMF-method
,
evaluateMF,GaussianMF-method
,
evaluateMF,MembershipFunction-method
,
evaluateMF,NormalizedGaussianMF-method
,
evaluateMF-methods
;
print,MembershipFunction-method
;
show,MembershipFunction-method
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #NormalizedGaussianMF example I
#A normalized Gaussian membership function with default paramateres (mu=0, sigma=1)
#The derivate of the first parameter at x, should be 1
#The derivate of the first parameter at x, should be 0
#The derivate on "mu" parameter at x, should be 0
normalizedGaussian <- new(Class="NormalizedGaussianMF")
normalizedGaussian
evaluateMF(object=normalizedGaussian, x=0)
derivateMF(object=normalizedGaussian, x=0, i=1)
derivateMF(object=normalizedGaussian, x=0, i="mu")
#
#NormalizedGaussianMF example II
#A normalized Gaussian membership function with parameters (mu=0, sigma=1)
#The derivate of the first parameter at x, should be 1
#The derivate of the first parameter at x, should be 0
#The derivate on "mu" parameter at x, should be 0
normalizedGaussian2 <- new(Class="NormalizedGaussianMF",
parameters=c(mu=0,sigma=1))
normalizedGaussian2
evaluateMF(object=normalizedGaussian2, x=0)
derivateMF(object=normalizedGaussian2, x=0, i=1)
derivateMF(object=normalizedGaussian2, x=0, i="mu")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.