Description Usage Arguments Details Value References Examples
View source: R/bayesian_tests.R
This function implements the Bayesian version of the sign test. The performance of one baseline algorithm on one or multiple data sets is compared to either one or multiple algorithms.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
df |
('list') |
problem |
('character') |
baseline |
('character') |
algorithm |
('character') |
measure |
('character') |
compare |
('character') |
prob |
('double') |
s |
('double') |
z_0 |
('double') |
weights |
('any') |
mc_samples |
('double') |
rope |
('double') |
The test has first been implemented in rNPBST.
('list')
A list containing the following components:
measure
('character')
A string with the name of the
measure column.
method
('character')
A string with the name of the
method.
baseline
('character')
A string with the name of the
first algorithm. Value in 'algorithm' column.
data_frame
('list')
A list containing the following
components:
algorithm
('character')
Second algorithm. Value in
'algorithm' column. If not defined, the baseline is tested against
all algorithms in the data frame.
left
('double')
Left probability.
rope
('double')
Rope probability.
right
('double')
Right probability.
probabilities
('character')
Decisions based on posterior
probabilities and threshold probability.
https://github.com/JacintoCC/rNPBST
1 2 | results <- b_sign_test(df= test_benchmark_small,
problem = "problem_a", baseline = "algo_1", algorithm = "algo_2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.