fm.ShapleyMob_sparse {Rfmtool} | R Documentation |
Shapley values computation function in sparse representation
Description
Calculate Shapley values vectors of size n of a sparse fuzzy measure
Usage
fm.ShapleyMob_sparse(n, envsp=NULL)
Arguments
n |
Size of values vectors |
envsp |
Structure required for sparse representation which stores the relevant values (k-tuples). It is obtained from fm.PrepareSparseFM(n). |
Value
output |
The output is Shapley values vectors of size n of a sparse fuzzy measure. |
Author(s)
Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University
Examples
n <- 3
envsp <- fm.PrepareSparseFM(n, c(0.2,0.4,0.1), c(2,1,2,2,1,3,3,1,2,3))
fm.ShapleyMob_sparse(3, envsp)
envsp <- fm.FreeSparseFM(envsp)
[Package Rfmtool version 5.0.4 Index]