-
Notifications
You must be signed in to change notification settings - Fork 0
/
human_data.py
92 lines (76 loc) · 2.55 KB
/
human_data.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
def get_zamm_etal_2018_data_and_result():
data = [[320],
[350],
[355],
[359],
[382],
[390],
[390],
[415],
[418],
[430],
[435],
[438],
[439],
[439],
[443],
[445],
[455],
[457],
[462],
[470],
[475],
[525],
[572],
[665]]
sprdiffs = [[-130, -95, 190, 250],
[-155, -95, 195, 280],
[-85, -40, 65, 480],
[-115, -55, 95, 340],
[-120, -70, 110, 320],
[-195, -150, 215, 520],
[-130, -75, 85, 260],
[-145, -120, 70, 300],
[-185, -110, 220, 495],
[-205, -120, 85, 330],
[-125, -60, 15, 50],
[-215, -125, 145, 330],
[-205, -120, 155, 280],
[-235, -195, 220, 420],
[-135, -85, 55, 365],
[-155, -75, 95, 215],
[-100, -45, 65, 145],
[-210, -110, 125, 495],
[-205, -100, 130, 205],
[-225, -100, 160, 570],
[-220, -80, 110, 230],
[-265, -165, 175, 780],
[-210, -120, 70, 120],
[-435, -320, 320, 705]]
for ispr, spr in enumerate(data):
spr.extend([spr[0] + sprdiff for sprdiff in sprdiffs[ispr]])
result = [[0.075, 0.03, -0.02, -0.195],
[0.015, 0.015, 0.02, 0.03]]
return {'data': data, 'result': result}
def get_scheurich_etal_2018_data_and_result():
musicians = [250, 260, 300, 310,
325, 340, 345, 350,
380, 400, 410, 430,
440, 450, 460, 465,
475, 480, 600, 650]
non_music = [200, 250, 255, 260,
265, 275, 275, 285,
300, 305, 310, 315,
315, 315, 320, 340,
345, 360, 380, 450]
return musicians, non_music
def get_zamm_etal_2016_data_and_result():
IOI_match1 = [269, 280, 350, 343, 373,
376, 398, 420, 433, 451]
IOI_match2 = [278, 289, 359, 352, 280,
384, 407, 429, 440, 460]
IOI_miss1 = [180, 210, 215, 220, 280,
310, 330, 350, 340, 420]
IOI_miss2 = [310, 340, 330, 380, 410,
460, 462, 470, 500, 520]
return match_pairs, miss_pairs