Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2502061
T28966_test.R
aekavur (Ali Emre Kavur)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
aekavur
Feb 7 2022, 2:57 PM
2022-02-07 14:57:07 (UTC+1)
Size
1008 B
Referenced Files
None
Subscribers
None
T28966_test.R
View Options
library
(
devtools
)
load_all
(
'./'
)
data_matrix
<-
read.csv
(
"data_matrix_3alg.csv"
)
# type ?read.csv for help
challenge
<-
as.challenge
(
data_matrix
,
by
=
"task"
,
algorithm
=
"alg_name"
,
case
=
"case"
,
value
=
"value"
,
smallBetter
=
TRUE
)
bootstrapSamples
<-
1000
ranking
<-
challenge
%>%
aggregateThenRank
(
FUN
=
mean
,
na.treat
=
0
,
ties.method
=
"min"
)
meanRanks
<-
ranking
%>%
consensus
(
method
=
"euclidean"
)
if
(
bootstrapSamples
>
0
)
{
set.seed
(
1
)
rankingBootstrapped
<-
ranking
%>%
bootstrap
(
nboot
=
bootstrapSamples
)
ranking
<-
rankingBootstrapped
}
# Generate the report
ranking
%>%
report
(
consensus
=
meanRanks
,
title
=
"Data Matrix with 3 Algorithms"
,
file
=
"outputFile_dataMatrix_3alg"
,
format
=
"PDF"
,
latex_engine
=
"pdflatex"
,
clean
=
TRUE
,
open
=
FALSE
,)
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1499923
Default Alt Text
T28966_test.R (1008 B)
Attached To
Mode
T28966: y-axis of blob plots always scaled to 5
Attached
Detach File
Event Timeline
Log In to Comment