Package: Rfmtool 5.0.4

Gleb Beliakov

Rfmtool: Fuzzy Measure Tools

Various tools for handling fuzzy measures, calculating Shapley value and interaction index, Choquet and Sugeno integrals, as well as fitting fuzzy measures to empirical data are provided. Construction of fuzzy measures from empirical data is done by solving a linear programming problem by using 'lpsolve' package, whose source in C adapted to the R environment is included. The description of the basic theory of fuzzy measures is in the manual in the Doc folder in this package. Please refer to the following: [1] <https://personal-sites.deakin.edu.au/~gleb/fmtools.html> [2] G. Beliakov, H. Bustince, T. Calvo, 'A Practical Guide to Averaging', Springer, (2016, ISBN: 978-3-319-24753-3). [3] G. Beliakov, S. James, J-Z. Wu, 'Discrete Fuzzy Measures', Springer, (2020, ISBN: 978-3-030-15305-2).

Authors:Gleb Beliakov [aut, cre], Quan Vu [ctb], Andrei Kelarev [ctb], Michel Berkelaar [ctb], Kjell Eikland [ctb], Samuel E. Buttrey [ctb], Stefan I. Larimore [ctb], Timothy A. Davis [ctb], John Gilbert [ctb], Esmond Ng [ctb], Peter Notebaert [ctb], Richard Stallman [ctb], Jeroen Dirks [ctb], Daniela L. Calderon [ctb]

Rfmtool_5.0.4.tar.gz
Rfmtool_5.0.4.tar.gz(r-4.5-noble)Rfmtool_5.0.4.tar.gz(r-4.4-noble)
Rfmtool_5.0.4.tgz(r-4.4-emscripten)Rfmtool_5.0.4.tgz(r-4.3-emscripten)
Rfmtool.pdf |Rfmtool.html
Rfmtool/json (API)

# Install 'Rfmtool' in R:
install.packages('Rfmtool', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • c++– GNU Standard C++ Library v3

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.10 score 63 scripts 606 downloads 124 exports 1 dependencies

Last updated 5 months agofrom:a2952f43fc. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-linux-x86_64OKOct 31 2024

Exports:fmfm.add_pair_sparsefm.add_singletons_sparsefm.add_tuple_sparsefm.Banzhaffm.Banzhaf2addMobfm.BanzhafMobfm.BanzhafMob_sparsefm.Bipartitionfm.BipartitionBanzhaffm.check_convexity_monotonicity_mobfm.check_monotonicityfm.check_monotonicity_mobfm.check_monotonicity_mob_2additivefm.check_monotonicity_sort_insertfm.check_monotonicity_sort_mergefm.Choquetfm.Choquet2addMobfm.ChoquetCoMobKInterfm.ChoquetKinterfm.ChoquetMobfm.ChoquetMob_sparsefm.ConstructLambdaMeasurefm.ConstructLambdaMeasureMobfm.ConvertCoMob2Kinterfm.dualmfm.dualmMobfm.dualMobKaddfm.EntropyChoquetfm.EntropyChoquetMobfm.errorcheckfm.expand_2add_fullfm.expand_sparse_fullfm.export_maximal_chainsfm.fittingfm.fitting2additivefm.fittingKinteractivefm.fittingKinteractiveAutofm.fittingKinteractiveMarginalfm.fittingKinteractiveMarginalMCfm.fittingKinteractiveMCfm.fittingKmaxitivefm.fittingKtolerantfm.fittingMobfm.fittingOWAfm.fittingWAMfm.fm_arraysizefm.Freefm.FreeSparseFMfm.FuzzyMeasureFitLPfm.FuzzyMeasureFitLPMobfm.generate_antibuoyantfm.generate_balancedfm.generate_belieffm.generate_fm_2additivefm.generate_fm_2additive_concavefm.generate_fm_2additive_convexfm.generate_fm_2additive_convex_sparsefm.generate_fm_2additive_convex_withsomeindependentfm.generate_fm_2additive_randomwalk2fm.generate_fm_kadditive_convex_sparsefm.generate_fm_kinteractivedualconcavefm.generate_fm_kinteractivedualconvexfm.generate_fm_minplusfm.generate_fm_randomwalkfm.generate_fm_sortingfm.generate_fm_tsortfm.generate_fmconvex_tsortfm.get_num_tuplesfm.get_sizearray_tuplesfm.Initfm.Interactionfm.InteractionBfm.InteractionBMobfm.InteractionMobfm.is_inset_sparsefm.is_subset_sparsefm.IsMeasureAdditivefm.IsMeasureAdditiveMobfm.IsMeasureBalancedfm.IsMeasureBalancedMobfm.IsMeasureKmaxitivefm.IsMeasureKmaxitiveMobfm.IsMeasureSelfdualfm.IsMeasureSelfdualMobfm.IsMeasureSubadditivefm.IsMeasureSubadditiveMobfm.IsMeasureSubmodularfm.IsMeasureSubmodularMobfm.IsMeasureSuperadditivefm.IsMeasureSuperadditiveMobfm.IsMeasureSupermodularfm.IsMeasureSupermodularMobfm.IsMeasureSymmetricfm.IsMeasureSymmetricMobfm.max_subset_sparsefm.min_subset_sparsefm.Mobiusfm.NonadditivityIndexfm.NonadditivityIndexMobfm.NonmodularityIndexfm.NonmodularityIndex_sparsefm.NonmodularityIndexKinteractivefm.NonmodularityIndexMobfm.NonmodularityIndexMobkadditivefm.OrnessChoquetfm.OrnessChoquetMobfm.populate_fm_2add_sparsefm.populate_fm_2add_sparse_from2addfm.PrepareSparseFMfm.Shapleyfm.Shapley2addMobfm.ShapleyMobfm.ShapleyMob_sparsefm.ShowCoalitionsfm.ShowCoalitionsCardfm.sparse_get_pairsfm.sparse_get_singletonsfm.sparse_get_tuplesfm.Sugenofm.SugenoMobfm.testfm.tuple_cardinality_sparsefm.Zeta

Dependencies:Rcpp

Readme and manuals

Help Manual

Help pageTopics
Rfmtool packagefm
Function for adding a pair to the sparse fuzzy measurefm.add_pair_sparse
Function for adding singletons to the sparse fuzzy measurefm.add_singletons_sparse
Function for adding singletons to the sparse fuzzy measurefm.add_tuple_sparse
Banzhaf value computation functionfm.Banzhaf
Function for calculating Banzhaf values of 2-additive fuzzy measure in Mobius representationfm.Banzhaf2addMob
Banzhaf value computation function in Mobius representationfm.BanzhafMob
Banzhaf values computation function in sparse representationfm.BanzhafMob_sparse
Bipartition interaction index computation functionfm.Bipartition
Bipartition Banhzaf interaction index computation functionfm.BipartitionBanzhaf
Function for checking supermodularity of the set function v in Mobius representationfm.check_convexity_monotonicity_mob
Function for checking monotonicity of the set function vfm.check_monotonicity
Function for checking monotonicity of the set function v in Mobius representation.fm.check_monotonicity_mob
Function for checking the monotonicity of the 2-additive set function v in Mobius representation.fm.check_monotonicity_mob_2additive
Function for checking monotonicity of the set function vfm.check_monotonicity_sort_insert
Function for checking monotonicity of the set function vfm.check_monotonicity_sort_merge
Choquet integral computation functionfm.Choquet
Function for calculating Choquet integral value for 2-additive fuzzy measure in Mobius representationfm.Choquet2addMob
function for calculating Choquet integral value with respect to dual k-interactive fuzzy measure in Mobius representationfm.ChoquetCoMobKInter
Choquet integral value computation function in standard representation wrt k-interactive fuzzy measurefm.ChoquetKinter
Choquet integral value computation function in Mobius representationfm.ChoquetMob
Choquet integral computation function in sparse representationfm.ChoquetMob_sparse
Function for Constructing Lambdafm.ConstructLambdaMeasure
Function for Constructing Lambda in Mobius representationfm.ConstructLambdaMeasureMob
Function for dual k-interactive fuzzy measure from Mobius to standard representationfm.ConvertCoMob2Kinter
Function for calculating dual of fuzzy measurefm.dualm
Dualm computation function in Mobius representationfm.dualmMob
Function for calculating dual of k-additive fuzzy measure in Mobius representationfm.dualMobKadd
Entropy of fuzzy measurefm.EntropyChoquet
Entropy Choquet computation function in Mobius representationfm.EntropyChoquetMob
Basic error checkfm.errorcheck
Function for exporting full representation of 2-additive capacityfm.expand_2add_full
Function for exporting full capacity from sparse representationfm.expand_sparse_full
Function for exporting maximal chainsfm.export_maximal_chains
Fuzzy Measure Fitting functionfm.fitting
Fuzzy Measure Fitting functionfm.fitting2additive
Fuzzy Measure Fitting functionfm.fittingKinteractive
Fuzzy Measure Fitting function of the k-interactivefm.fittingKinteractiveAuto
Fuzzy Measure Fitting function of the k-interactive using marginal representationfm.fittingKinteractiveMarginal
Fuzzy Measure Fitting function of the k-interactive using marginal representation and maximal chains methodfm.fittingKinteractiveMarginalMC
Fuzzy Measure Fitting function of the k-interactive using maximal chains methodfm.fittingKinteractiveMC
Fuzzy Measure Fitting function of the k-maxitivefm.fittingKmaxitive
Fuzzy Measure Fitting function of the k-tolerantfm.fittingKtolerant
Mobius Fuzzy Measure Fitting functionfm.fittingMob
Symmetric Fuzzy Measure Fitting functionfm.fittingOWA
Additive Fuzzy Measure Fitting functionfm.fittingWAM
Function for returning the length of the arrayfm.fm_arraysize
FreeSparseFM functionfm.Free
FreeSparseFM functionfm.FreeSparseFM
Fuzzy Measure Fitting function.fm.FuzzyMeasureFitLP
Mobius Fuzzy Measure Fitting function, R wrapper for FuzzyMeasureFitLP() in fuzzymeasurefit.cppfm.FuzzyMeasureFitLPMob
Function for generating one antibuoyant random fuzzy measurefm.generate_antibuoyant
Function for random generation of balanced fuzzy measures in standard representationfm.generate_balanced
Function for random generation of belief fuzzy measures in standard representationfm.generate_belief
Function for generating 2-additive fuzzy measures in Mobius representationfm.generate_fm_2additive
Function for generating 2additive concave fuzzy measures.fm.generate_fm_2additive_concave
Function for generating 2-additive convex fuzzy measuresfm.generate_fm_2additive_convex
Function for generating 2additive convex numbers in sparse representationfm.generate_fm_2additive_convex_sparse
Function for generating 2additive convex fuzzy measures with some independent inputsfm.generate_fm_2additive_convex_withsomeindependent
Function for generating random 2-additive fuzzy measures in Mobius representation by using random walk.fm.generate_fm_2additive_randomwalk2
Generate kadditive convex sparse fuzzy measuresfm.generate_fm_kadditive_convex_sparse
Function for generating k-interactive dual concave fuzzy measures in Mobius representationfm.generate_fm_kinteractivedualconcave
Function for generating several k-interactive dual convex fuzzy measures in Mobius representationfm.generate_fm_kinteractivedualconvex
Generate randomly fuzzy measuresfm.generate_fm_minplus
Function for generating several k-additive fuzzy measurefm.generate_fm_randomwalk
Function for random generation of fuzzy measures in standard representationfm.generate_fm_sorting
Function for random generation of fuzzy measuresfm.generate_fm_tsort
Function for generating convex fuzzy measuresfm.generate_fmconvex_tsort
Function for exporting number of tuplesfm.get_num_tuples
Function for exporting the size of the array of tuplesfm.get_sizearray_tuples
Initialisation functionfm.Init
Interaction Index computation functionfm.Interaction
Banzhaf Interaction Index computation functionfm.InteractionB
Banzhaf InteractionB Index computation function in Mobius representationfm.InteractionBMob
Interaction Index computation function for Mobius fuzzy measurefm.InteractionMob
Function for checking if i belongs to the tuple Afm.is_inset_sparse
Function for checking if tuple B is subset of tuple Afm.is_subset_sparse
IsMeasureAdditive functionfm.IsMeasureAdditive
IsMeasureAdditive function in Mobius representationfm.IsMeasureAdditiveMob
IsMeasureBalanced functionfm.IsMeasureBalanced
IsMeasureBalanced function in Mobius representationfm.IsMeasureBalancedMob
IsMeasureKmaxitive functionfm.IsMeasureKmaxitive
IsMeasureKmaxitive function in Mobius representationfm.IsMeasureKmaxitiveMob
IsMeasureSelfdual functionfm.IsMeasureSelfdual
IsMeasureSelfdual function in Mobius representationfm.IsMeasureSelfdualMob
IsMeasureSub additive functionfm.IsMeasureSubadditive
IsMeasureSub additive function in Mobius representationfm.IsMeasureSubadditiveMob
IsMeasureSub modular functionfm.IsMeasureSubmodular
IsMeasureSubmodular function in Mobius representationfm.IsMeasureSubmodularMob
IsMeasureSuperadditive functionfm.IsMeasureSuperadditive
IsMeasureSuperadditive function in Mobius representationfm.IsMeasureSuperadditiveMob
IsMeasureSupermodular functionfm.IsMeasureSupermodular
IsMeasureSupermodular function in Mobius representationfm.IsMeasureSupermodularMob
IsMeasureSymmetric functionfm.IsMeasureSymmetric
IsMeasureSymmetric function in Mobius representationfm.IsMeasureSymmetricMob
Maximun of x computation function in sparse representationfm.max_subset_sparse
Minimun of x computation function in sparse representationfm.min_subset_sparse
Mobius transform functionfm.Mobius
Nonadditivity index computation functionfm.NonadditivityIndex
Nonadditivity index computation function in Mobius representationfm.NonadditivityIndexMob
Nonmodularity index computation functionfm.NonmodularityIndex
Nonmodularity index computation function in sparse representationfm.NonmodularityIndex_sparse
NonmodularityIndexKinteractive computation functionfm.NonmodularityIndexKinteractive
Nonmodularityindex computation function in Mobius representationfm.NonmodularityIndexMob
Function for calculating all Nonmodularity indices of k-additive in Mobius representationfm.NonmodularityIndexMobkadditive
OrnessChoquet functionfm.OrnessChoquet
OrnessChoquet function in Mobius representationfm.OrnessChoquetMob
Function for populating 2-additive sparse capacityfm.populate_fm_2add_sparse
Function for populating 2-additive sparse capacity from 2-additive capacityfm.populate_fm_2add_sparse_from2add
PrepareSparseFM preparation functionfm.PrepareSparseFM
Shapley value computation functionfm.Shapley
Function for calculating Shapley values of 2-additive fuzzy measure in Mobius representationfm.Shapley2addMob
Shapley value computation function in Mobius representationfm.ShapleyMob
Shapley values computation function in sparse representationfm.ShapleyMob_sparse
Show Coalitions functionfm.ShowCoalitions
Show CoalitionsCard functionfm.ShowCoalitionsCard
Get pairs computation function in sparse representationfm.sparse_get_pairs
Get singletons of sparse fuzzy measurefm.sparse_get_singletons
Get tuples of a sparse fuzzy measurefm.sparse_get_tuples
Sugeno computation functionfm.Sugeno
Sugeno function in Mobius representationfm.SugenoMob
Test functionfm.test
Tuple cardinalityfm.tuple_cardinality_sparse
Zeta transform functionfm.Zeta