Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
19
Task/Ranking-methods/J/ranking-methods-1.j
Normal file
19
Task/Ranking-methods/J/ranking-methods-1.j
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
competitors=:<;._1;._2]0 :0
|
||||
44 Solomon
|
||||
42 Jason
|
||||
42 Errol
|
||||
41 Garry
|
||||
41 Bernard
|
||||
41 Barry
|
||||
39 Stephen
|
||||
)
|
||||
|
||||
scores=: {."1
|
||||
|
||||
standard=: 1+i.~
|
||||
modified=: 1+i:~
|
||||
dense=: #/.~ # #\@~.
|
||||
ordinal=: #\
|
||||
fractional=: #/.~ # ] (+/%#)/. #\
|
||||
|
||||
rank=:1 :'<"0@u@:scores,.]'
|
||||
80
Task/Ranking-methods/J/ranking-methods-2.j
Normal file
80
Task/Ranking-methods/J/ranking-methods-2.j
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
standard rank competitors
|
||||
┌─┬──┬───────┐
|
||||
│1│44│Solomon│
|
||||
├─┼──┼───────┤
|
||||
│2│42│Jason │
|
||||
├─┼──┼───────┤
|
||||
│2│42│Errol │
|
||||
├─┼──┼───────┤
|
||||
│4│41│Garry │
|
||||
├─┼──┼───────┤
|
||||
│4│41│Bernard│
|
||||
├─┼──┼───────┤
|
||||
│4│41│Barry │
|
||||
├─┼──┼───────┤
|
||||
│7│39│Stephen│
|
||||
└─┴──┴───────┘
|
||||
modified rank competitors
|
||||
┌─┬──┬───────┐
|
||||
│1│44│Solomon│
|
||||
├─┼──┼───────┤
|
||||
│3│42│Jason │
|
||||
├─┼──┼───────┤
|
||||
│3│42│Errol │
|
||||
├─┼──┼───────┤
|
||||
│6│41│Garry │
|
||||
├─┼──┼───────┤
|
||||
│6│41│Bernard│
|
||||
├─┼──┼───────┤
|
||||
│6│41│Barry │
|
||||
├─┼──┼───────┤
|
||||
│7│39│Stephen│
|
||||
└─┴──┴───────┘
|
||||
dense rank competitors
|
||||
┌─┬──┬───────┐
|
||||
│1│44│Solomon│
|
||||
├─┼──┼───────┤
|
||||
│2│42│Jason │
|
||||
├─┼──┼───────┤
|
||||
│2│42│Errol │
|
||||
├─┼──┼───────┤
|
||||
│3│41│Garry │
|
||||
├─┼──┼───────┤
|
||||
│3│41│Bernard│
|
||||
├─┼──┼───────┤
|
||||
│3│41│Barry │
|
||||
├─┼──┼───────┤
|
||||
│4│39│Stephen│
|
||||
└─┴──┴───────┘
|
||||
ordinal rank competitors
|
||||
┌─┬──┬───────┐
|
||||
│1│44│Solomon│
|
||||
├─┼──┼───────┤
|
||||
│2│42│Jason │
|
||||
├─┼──┼───────┤
|
||||
│3│42│Errol │
|
||||
├─┼──┼───────┤
|
||||
│4│41│Garry │
|
||||
├─┼──┼───────┤
|
||||
│5│41│Bernard│
|
||||
├─┼──┼───────┤
|
||||
│6│41│Barry │
|
||||
├─┼──┼───────┤
|
||||
│7│39│Stephen│
|
||||
└─┴──┴───────┘
|
||||
fractional rank competitors
|
||||
┌───┬──┬───────┐
|
||||
│1 │44│Solomon│
|
||||
├───┼──┼───────┤
|
||||
│2.5│42│Jason │
|
||||
├───┼──┼───────┤
|
||||
│2.5│42│Errol │
|
||||
├───┼──┼───────┤
|
||||
│5 │41│Garry │
|
||||
├───┼──┼───────┤
|
||||
│5 │41│Bernard│
|
||||
├───┼──┼───────┤
|
||||
│5 │41│Barry │
|
||||
├───┼──┼───────┤
|
||||
│7 │39│Stephen│
|
||||
└───┴──┴───────┘
|
||||
Loading…
Add table
Add a link
Reference in a new issue