eval_parameters {geocmeans} | R Documentation |
Worker function for select_parameters and select_parameters.mc
eval_parameters( algo, parameters, data, nblistw = NULL, standardize = TRUE, spconsist = FALSE, classidx = TRUE, tol, maxiter, seed = NULL, verbose = TRUE )
algo |
A string indicating which method to use (FCM, GFCM, SFCM, SGFCM) |
parameters |
A dataframe of parameters with columns k,m and alpha |
data |
A dataframe with numeric columns |
nblistw |
A list.w object describing the neighbours typically produced by the spdep package |
standardize |
A boolean to specify if the variable must be centered and reduce (default = True) |
spconsist |
A boolean indicating if the spatial consistency must be calculated |
classidx |
A boolean indicating if the quality of classification indices must be calculated |
tol |
The tolerance criterion used in the evaluateMatrices function for convergence assessment |
maxiter |
An integer for the maximum number of iteration |
seed |
An integer used for random number generation. It ensures that the start centers will be the same if the same integer is selected. |
verbose |
A boolean indicating if a progressbar should be displayed |
a DataFrame containing for each combinations of parameters several clustering quality indexes.
#No example provided, this is an internal function