Learn the WAM weights
Learn the WAM weights using a non-negative least-square optimization method with the constraint that the sum of weights must be equal to 1.
More information is available in the vignette "Data Fusion with GeoFIS", section "Learning illustration".
LearnWamWeights(data, target, digits = 3)
data
: data.frame or numeric matrix, The input data (all columns must be in range [0, 1])target
: numeric vector, The target data (must be in range [0, 1])digits
: integer value, The number of digits to which weights are to be rounded (default is 3)numeric vector, The WAM weights