Run end-to-end MDFS
MDFS(
data,
decision,
n.contrast = max(ncol(data), 30),
dimensions = 1,
divisions = 1,
discretizations = 1,
range = NULL,
pc.xi = 0.25,
p.adjust.method = "holm",
level = 0.05,
seed = NULL,
use.CUDA = FALSE
)
A list
with the following fields:
contrast.indices
-- indices of variables chosen to build contrast variables
contrast.variables
-- built contrast variables
MIG.Result
-- result of ComputeMaxInfoGains
MDFS
-- result of ComputePValue (the MDFS object)
statistic
-- vector of statistic's values (IGs) for corresponding variables
p.value
-- vector of p-values for corresponding variables
adjusted.p.value
-- vector of adjusted p-values for corresponding variables
relevant.variables
-- vector of relevant variables indices
input data where columns are variables and rows are observations (all numeric)
decision variable as a boolean vector of length equal to number of observations
number of constrast variables (defaults to max of 1/10 of variables number and 30)
number of dimensions (a positive integer; on CUDA limited to 2--5 range)
number of divisions (from 1 to 15)
number of discretizations
discretization range (from 0.0 to 1.0; NULL
selects probable optimal number)
parameter xi used to compute pseudocounts (the default is recommended not to be changed)
method as accepted by p.adjust
("BY"
is recommended for FDR, see Details)
statistical significance level
seed for PRNG used during discretizations (NULL
for random)
whether to use CUDA acceleration (must be compiled with CUDA; NOTE: the CUDA version might provide a slightly lower sensitivity due to a lack of native support for contrast_data
)
In case of FDR control it is recommended to use Benjamini-Hochberg-Yekutieli p-value adjustment
method ("BY"
in p.adjust
) due to unknown dependencies between tests.
# \donttest{
MDFS(madelon$data, madelon$decision, dimensions = 2, divisions = 1,
range = 0, seed = 0)
# }
Run the code above in your browser using DataLab