LearnWamWeights {GeoFIS} | R Documentation |
Learn the WAM weights
Description
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".
Usage
LearnWamWeights(data, target, digits = 3)
Arguments
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) |
Value
numeric vector, The WAM weights
[Package GeoFIS version 1.1.0 Index]