
Last chance! 50% off unlimited learning
Sale ends in
Gaussian membership function with mean, standard deviation, and data set
memG(a, b, x)
Mean values of individual rows of the data set x
Standard deviation values of individual rows of the data set x
A data set in the form of document-term matrix
Gaussian membership values for the input data set x.
# NOT RUN {
x<-matrix(c(12,9,14,11,21,16,15,24,20,17,14,11),nrow=4)
a<-mn(x)
b<-std(x)
memG(a,b,x)
# [,1] [,2] [,3]
#[1,] 0.5169457 0.7958771 0.8941586
#[2,] 0.5179406 0.9000876 0.7891159
#[3,] 0.8464817 0.5134171 0.8464817
#[4,] 0.8464817 0.5134171 0.8464817
# }
Run the code above in your browser using DataLab