FuzzifierDetermination: Determine the optimized fuzzifier for Fuzzy Cluster Method...

Description Usage Arguments Value References See Also Examples

View source: R/FCMm.R

Description

To determine the optimized fuzzifier value for Fuzzy Cluster Method (FCM)running.

Usage

1
FuzzifierDetermination(x, wv, max.m=10, do.stand=TRUE, stand=NULL, dmetric="sqeuclidean")

Arguments

x

Data.frame. the input Rrs data

wv

Wavelength of X. If NULL, given by colnames of x.

max.m

Set max.m as for determination of m.mub. Default as 10

do.stand

Whether run standarization for the input data set. Default as TRUE. Note that the do.stand only be used for calculating the fuzzifier as both raw and standarzied spectra will be restored in the return value. This is benifit to the spectra plotting.

stand

Deprecated; Now stand = !do.stand

dmetric

Distance method. Default as 'sqeuclidean'

Value

FD list contains several result by FuzzifierDetermination:

References

See Also

Other Fuzzy cluster functions: FCM.new(), apply_FCM_m(), apply_to_image(), cal_memb(), generate_param(), plot_spec_from_df()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(FCMm) 
library(magrittr)
data("Nechad2015")
x <- Nechad2015[,3:11]
wv <- gsub("X","",names(x)) %>% as.numeric
w <- sample(1:nrow(x), 100) 
x <- x[w, ]
names(x) <- wv
set.seed(1234)
FD <- FuzzifierDetermination(x, wv, stand=FALSE)

bishun945/FCMm documentation built on Oct. 15, 2021, 6:43 p.m.